diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-05-12 23:39:29 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-05-12 23:39:29 +0200 |
commit | c755b89265898af30b88642494c7311a4a3f3513 (patch) | |
tree | 7fdb8967e29ce5279fb2969274a37e18d37cd02f /Dockerfile | |
parent | aebada08bc95a7175138ee3ed2923741966410a0 (diff) | |
download | feed2imap-go-c755b89265898af30b88642494c7311a4a3f3513.tar.gz feed2imap-go-c755b89265898af30b88642494c7311a4a3f3513.tar.bz2 feed2imap-go-c755b89265898af30b88642494c7311a4a3f3513.zip |
Docker Setup
Diffstat (limited to 'Dockerfile')
-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"] |