Browse Source

Fix bug in docker files

pull/3/head
Raymond Bernardo 4 years ago
parent
commit
740a6107a8
  1. 4
      Dockerfile
  2. 3
      docker-compose.yml

4
Dockerfile

@ -1,6 +1,6 @@
FROM python:3
WORKDIR /plane
WORKDIR /plane-notify
COPY . .
@ -13,4 +13,4 @@ RUN pipenv install
# Added needed folder for plane-notify process
RUN mkdir /var/run/plane-notify
CMD pipenv run python __main__
CMD pipenv run python /plane-notify/__main__.py

3
docker-compose.yml

@ -1,8 +1,7 @@
version: "3.9"
services:
plane-notify:
command: sh -c "sleep 500"
build:
context: .
volumes:
- ./:/plane
- ./:/plane-notify

Loading…
Cancel
Save