rajkhanke commited on
Commit
3b9500f
·
verified ·
1 Parent(s): 9623ff7

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- # 1. Base image
2
  FROM python:3.9-slim
3
 
4
  # 2. Prevent __pycache__, buffer logs
@@ -29,4 +29,4 @@ RUN mkdir -p "${UPLOAD_DIR}/uploads" static/images \
29
 
30
  # 9. Expose & run
31
  EXPOSE 7860
32
- CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:7860", "app:app"]
 
1
+ 1. Base image
2
  FROM python:3.9-slim
3
 
4
  # 2. Prevent __pycache__, buffer logs
 
29
 
30
  # 9. Expose & run
31
  EXPOSE 7860
32
+ CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:7860", "app:app"]