ci: add a dockerfile
Signed-off-by: SphericalKat <amolele@gmail.com>
This commit is contained in:
parent
4692d621b3
commit
10b0341012
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@ -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"]
|
Loading…
Reference in New Issue
Block a user