1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00
examples/docker_sample/Dockerfile
2020-02-24 15:08:04 -03:00

16 lines
210 B
Docker

FROM rust:1 as builder
COPY . .
RUN cargo build --release
FROM rust:1-slim-stretch
COPY --from=builder /target/release/docker_sample .
RUN ls -la /docker_sample
EXPOSE 5000
ENTRYPOINT ["/docker_sample"]