aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorArjun Satarkar <me@arjunsatarkar.net>2023-07-29 14:08:56 +0000
committerArjun Satarkar <me@arjunsatarkar.net>2023-07-29 14:08:56 +0000
commit51502a433353ba1bf034a22be9bdf7569531e2f5 (patch)
tree76d3eb6fa55d574785167b72d7a7f2f628d7a3d7 /Dockerfile
parentd647ebb3adc73e0fb2b81b8661bab94fbace8520 (diff)
downloadtagrss-51502a433353ba1bf034a22be9bdf7569531e2f5.tar
tagrss-51502a433353ba1bf034a22be9bdf7569531e2f5.tar.gz
tagrss-51502a433353ba1bf034a22be9bdf7569531e2f5.zip
Add Dockerfile, a bit more logging
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..61ce76f
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,10 @@
+FROM python:3.11-bookworm
+
+RUN mkdir /tagrss_data/
+COPY . /tagrss
+WORKDIR /tagrss
+RUN pip install -r requirements.txt
+
+EXPOSE 8000
+
+CMD ["./serve.py", "--host", "0.0.0.0", "--storage-path", "/tagrss_data/tagrss_data.db"]