mirror of
https://gitlab.com/chaica/feed2toot.git
synced 2025-02-23 16:38:41 +00:00
Merge branch 'add-dockerfile' into 'master'
add Dockerfile and .dockerignore See merge request chaica/feed2toot!18
This commit is contained in:
commit
ca67cffbdd
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
||||
Dockerfile
|
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM python:3.9
|
||||
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", "-c", "./feed2toot.ini"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user