aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Dockerfile11
1 files changed, 4 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index cd221bd..1d26d4e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"]