2019-08-27 10:09:54 +02:00
|
|
|
FROM alpine:3.10
|
|
|
|
label maintainer="Elementar Sistemas <contato@elementarsistemas.com.br>"
|
2014-08-30 21:16:23 +02:00
|
|
|
|
2019-08-27 10:09:54 +02:00
|
|
|
RUN apk --no-cache add bash py3-pip && pip3 install --no-cache-dir awscli
|
2014-12-04 06:32:49 +01:00
|
|
|
ADD watch /watch
|
2014-08-30 21:16:23 +02:00
|
|
|
|
|
|
|
VOLUME /data
|
|
|
|
|
2020-12-02 20:40:07 +01:00
|
|
|
ENV S3_SYNC_FLAGS "--delete"
|
2014-12-04 06:32:49 +01:00
|
|
|
ENTRYPOINT [ "./watch" ]
|
|
|
|
CMD ["/data"]
|