aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorRuediger Küpper <ruediger@kuepper.nrw>2020-05-12 17:31:10 +0200
committerRuediger Küpper <ruediger@kuepper.nrw>2020-05-12 17:31:10 +0200
commit3745c6710ddd1d5504ea4882d07d97e2ce55d499 (patch)
treed3eff5675cf1ec1230059b2cbb6cd3d42a135ac6 /Dockerfile
parent8558205de4c9bd46aa7b4a61db7bdd1fa2f91240 (diff)
downloadfeed2imap-go-3745c6710ddd1d5504ea4882d07d97e2ce55d499.tar.gz
feed2imap-go-3745c6710ddd1d5504ea4882d07d97e2ce55d499.tar.bz2
feed2imap-go-3745c6710ddd1d5504ea4882d07d97e2ce55d499.zip
add docker stuff
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" ]
+