FROM rust:1.69 as builder
WORKDIR /app
COPY . .
RUN cargo build --release
FROM ubuntu:latest
COPY --from=builder /app/target/release/dynamic-webserver /app/dynamic-webserver
RUN ls -Al /app
CMD /app/dynamic-webserver