Skip to content

Commit

Permalink
Change CMD to list form and add ENTRYPOINT field
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylor committed Jul 10, 2020
1 parent 977feae commit 3b53db2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 5000
CMD python application.py
ENTRYPOINT ["python"]
CMD ["application.py"]

0 comments on commit 3b53db2

Please sign in to comment.