katbin/Dockerfile
SphericalKat d4d26e2882
chore(deployment): use docker to deploy katbin
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-06-24 15:20:45 +05:30

7 lines
128 B
Docker

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