This commit is contained in:
2023-06-26 14:49:03 +02:00
parent d576a7f752
commit d65c9d32d0
6 changed files with 36 additions and 65 deletions

View File

@ -1,11 +1,11 @@
FROM alpine:3.10
label maintainer="Elementar Sistemas <contato@elementarsistemas.com.br>"
FROM peakcom/s5cmd:v2.1.0
label maintainer="RésiLien <admin+docker@resilien.fr>"
RUN apk --no-cache add bash py3-pip && pip3 install --no-cache-dir awscli
RUN apk --no-cache add inotify-tools bash
ADD watch /watch
VOLUME /data
ENV S3_SYNC_FLAGS "--delete"
ENTRYPOINT [ "./watch" ]
CMD ["/data"]
ENV S3_SYNC_FLAGS ""
ENTRYPOINT [ "/watch" ]
CMD ["help"]