Dockerfile pété, README

This commit is contained in:
Justine Pelletreau
2023-01-13 17:24:30 +01:00
parent 77c21ad8df
commit abbb1b6c44
19 changed files with 18 additions and 2 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
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