add inotify to container

load old last post from config
This commit is contained in:
2020-01-16 12:31:29 +01:00
parent 79abcb72fb
commit 4aa8b0bcec
2 changed files with 7 additions and 7 deletions

View File

@@ -21,10 +21,9 @@ RUN go build -o /go/bin/fbBot .
FROM alpine
VOLUME /opt/tmp
RUN apk update && \
apk add --no-cache ca-certificates chromium chromium-chromedriver
apk add --no-cache ca-certificates chromium chromium-chromedriver inotify-tools inotify-tools-dev
# Copy our static executable.
COPY --from=builder /go/bin/fbBot /opt/fbBot
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY contrib/ /
COPY config.yaml /etc/fbBot/config.yaml
# Run the hello binary.