Skip to content

Commit 57400f2

Browse files
committed
fix the cant locate gunicorn issue
1 parent 6bb337f commit 57400f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,7 @@ COPY . .
3333
# Expose the port the Flask app runs on
3434
EXPOSE 5000
3535

36+
ENV PATH="/app/venv/bin:$PATH"
37+
3638
# Run the Flask application
3739
CMD gunicorn --workers 1 --bind 0.0.0.0:5000 app:app

0 commit comments

Comments
 (0)