We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d17783 commit 8450c45Copy full SHA for 8450c45
Dockerfile
@@ -18,6 +18,10 @@ RUN fab build:${BUILD_MODE}
18
19
FROM alpine:latest AS final
20
21
-COPY --from=builder /site/output /output
+RUN addgroup -g 33 -S www-data && adduser -u 33 -S www-data -G www-data
22
+
23
+COPY --from=builder --chown=33:33 /site/output /output
24
25
+RUN echo "Build date: $(date)" | tee -a /output/.build_info.txt
26
27
ENTRYPOINT ["sh", "-c", "cp -r /output/* /mnt && echo '✅ Copy done' || (echo '❌ Copy failed' && exit 1)"]
0 commit comments