aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..cd221bd
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,9 @@
+FROM golang: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" ]
+