aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-12 23:39:29 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-12 23:39:29 +0200
commitc755b89265898af30b88642494c7311a4a3f3513 (patch)
tree7fdb8967e29ce5279fb2969274a37e18d37cd02f /Dockerfile
parentaebada08bc95a7175138ee3ed2923741966410a0 (diff)
downloadfeed2imap-go-c755b89265898af30b88642494c7311a4a3f3513.tar.gz
feed2imap-go-c755b89265898af30b88642494c7311a4a3f3513.tar.bz2
feed2imap-go-c755b89265898af30b88642494c7311a4a3f3513.zip
Docker Setup
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"]