chore(deployment): use docker to deploy katbin
Signed-off-by: SphericalKat <amolele@gmail.com>
This commit is contained in:
3 files changed
+9
-3
No files matched your search
+2
-2
@@ -1,7 +1,7 @@
|
||||
FROM rustlang/rust:nightly as build
|
||||
FROM rustlang/rust:nightly
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
CMD ["sh", "-c", "ROCKET_PORT=$PORT ROCKET_KEEP_ALIVE=0 ./target/release/katbin"]
|
||||
CMD ["sh", "-c", "ROCKET_KEEP_ALIVE=0 ./target/release/katbin"]
|
||||
Reference in new issue
Block a user