Compare commits

...

2 Commits

Author SHA1 Message Date
Strubbl 4195e33f42 Merge branch 'add-dockerfile' into 'master'
add Dockerfile and .dockerignore

See merge request chaica/feed2toot!18
2024-01-22 12:50:01 +00:00
Sven Fischer 51e2c695bb add Dockerfile and .dockerignore 2024-01-22 13:49:46 +01:00
2 changed files with 15 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
Dockerfile

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM python:3.11
LABEL maintainer="Strubbl-dockerfile@linux4tw.de"
ENV DATA_DIR /data
COPY . feed2toot
RUN \
mkdir $DATA_DIR \
&& cd feed2toot \
&& python setup.py install
VOLUME $DATA_DIR
WORKDIR $DATA_DIR
CMD ["feed2toot", "--verbose", "--debug","-c", "./feed2toot.ini"]