Skip to content

Commit e82d7d9

Browse files
committed
fix: rsync added
1 parent a12f47e commit e82d7d9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ RUN fab build:${BUILD_MODE}
1818

1919
FROM alpine:latest AS final
2020

21-
COPY --from=builder --chown=33:33 /site/output /output
21+
COPY --from=builder /site/output /output
2222

23-
RUN echo "Build date: $(date)" | tee -a /output/.build_info.txt
23+
RUN echo "Build date: $(date)" | tee -a /output/build_info.txt
2424

25-
ENTRYPOINT ["sh", "-c", "cp -r /output/* /mnt && echo '✅ Copy done' || (echo '❌ Copy failed' && exit 1)"]
25+
RUN apk add --no-cache rsync
26+
27+
ENTRYPOINT ["sh", "-c", "rsync -av /output/ /mnt/what-if/ && echo 'Copied'"]

0 commit comments

Comments
 (0)