Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
align to gunicorn requirements
  • Loading branch information
LucifersCircle committed Dec 7, 2024
1 parent 24e29c6 commit 40cc886
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ RUN pip install --no-cache-dir flask requests cryptography gunicorn

USER appuser

# Environment variable to specify the app script
ENV APP_SCRIPT="app:app"

CMD ["sh", "-c", "gunicorn -w 4 -b 0.0.0.0:5000 $APP_SCRIPT"]
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:5000", "app:app"]

0 comments on commit 40cc886

Please sign in to comment.