Make application work as package from inside docker container
This commit is contained in:
parent
91176eabe0
commit
4e3952f69d
1 changed files with 4 additions and 2 deletions
|
@ -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"]
|
||||
|
|
Reference in a new issue