1
Fork 0

Make application work as package from inside docker container

This commit is contained in:
Jake Howard 2020-01-21 19:25:01 +00:00
parent 91176eabe0
commit 4e3952f69d
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -3,6 +3,8 @@ FROM python:3.8.1-alpine3.11
COPY requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
COPY ./todoist_github /app
COPY ./todoist_github /app/todoist_github
CMD ["/app/cli.py"]
WORKDIR /app
CMD ["python3", "-m", "todoist_github"]