🐳 Add templates to Dockerfile

This commit is contained in:
Andreas Schneider 2020-11-01 13:16:51 +01:00
parent 67b1e206d0
commit eced1e67f8
1 changed files with 3 additions and 0 deletions

View File

@ -15,7 +15,10 @@ FROM scratch
ENV DATA_DIR=/data/shares ENV DATA_DIR=/data/shares
ENV DATABASE=/data/ShareDAV.db ENV DATABASE=/data/ShareDAV.db
WORKDIR /app
COPY --from=builder /src/ShareDAV /app/ShareDAV COPY --from=builder /src/ShareDAV /app/ShareDAV
COPY --from=builder /src/templates /app/templates
COPY --from=builder /data /data COPY --from=builder /data /data
USER 1000:1000 USER 1000:1000