diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5f8100a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM rustlang/rust:nightly as build + +COPY . . + +RUN cargo build --release + +CMD ["sh", "-c", "ROCKET_PORT=$PORT ROCKET_KEEP_ALIVE=0 ./target/release/katbin"] \ No newline at end of file