katbin/Dockerfile

7 lines
155 B
Docker
Raw Normal View History

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