dynamic-webserver/Dockerfile

11 lines
231 B
Docker
Raw Permalink Normal View History

2023-05-05 12:47:44 -07:00
FROM rust:1.69 as builder
WORKDIR /app
COPY . .
RUN cargo build --release
FROM ubuntu:latest
WORKDIR /app
COPY --from=builder /app/target/release/dynamic-webserver /app/dynamic-webserver
RUN ls -Al /app
CMD /app/dynamic-webserver