Fix bug in docker files

This commit is contained in:
Raymond Bernardo 2021-05-31 18:17:22 -04:00
parent 62a30a0390
commit 740a6107a8
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

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