diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..249fb62 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM python:2.7.17-buster +MAINTAINER Gerolf Ziegenhain + +ADD . exitwp +RUN pip install -r /exitwp/pip_requirements.txt + +WORKDIR /exitwp diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..cb6a7a5 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,6 @@ +app: + build: . + command: /exitwp/exitwp.py + volumes: + - ./wordpress-xml:/exitwp/wordpress-xml + - ./build:/exitwp/build