katbin/Dockerfile
SphericalKat 10b0341012
ci: add a dockerfile
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-03-02 16:59:10 +05:30

7 lines
155 B
Docker

FROM rustlang/rust:nightly as build
COPY . .
RUN cargo build --release
CMD ["sh", "-c", "ROCKET_PORT=$PORT ROCKET_KEEP_ALIVE=0 ./target/release/katbin"]