Add Dockerfile and docker-compose file

feature/embed-uploads
Tristan Gosselin-Hane 7 years ago
parent 6e9be786d2
commit f39c920f90
  1. 13
      Dockerfile
  2. 7
      docker-compose.yml

@ -0,0 +1,13 @@
FROM python:3.6.6-stretch
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir pipenv \
&& python -m pipenv --three \
&& python -m pipenv install
VOLUME "/data"
CMD [ "python", "-m", "pipenv", "run", "./webhook-bridge.py" ]

@ -0,0 +1,7 @@
version: '2.3'
services:
webhook-bridge:
build: .
volumes:
- ./:/app:Z
- ./:/data:Z
Loading…
Cancel
Save