FROM rust:1.66.0-alpine3.17 COPY ./flog /opt/flog WORKDIR /opt/flog VOLUME ["/opt/flog/html"] VOLUME ["/opt/flog/templates"] RUN apk add build-base make bash RUN cargo build EXPOSE 80