diff options
Diffstat (limited to '')
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -1,9 +1,6 @@ -FROM golang:alpine +FROM alpine -RUN mkdir /app -WORKDIR /app -COPY dist/feed2imap-go_linux_amd64/feed2imap-go /app/feed2imap-go -COPY config.yml /app/config.yml - -ENTRYPOINT ["/app/feed2imap-go", "-c", "/app/data/feed.cache", "-f", "/app/config.yml" ] +COPY feed2imap-go / +ENTRYPOINT ["/feed2imap-go"] +CMD ["-c", "/data/feed.cache", "-f", "/data/config.yml"] |