draft-classic/packs/rust/Dockerfile

11 строки
147 B
Docker
Исходник Обычный вид История

FROM rust:1.19.0
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN cargo install && cargo build
ENV PORT 8080
EXPOSE 8080
CMD ["cargo", "run", "-q"]