louiecerv commited on
Commit
7595d17
·
1 Parent(s): 364cd05

sync with remote

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -3
Dockerfile CHANGED
@@ -9,9 +9,12 @@ WORKDIR /app
9
  COPY --chown=user ./requirements.txt requirements.txt
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
12
- # Expose the port your app runs on
 
 
 
 
13
  EXPOSE 7860
14
 
15
  COPY --chown=user . /app
16
- CMD ["gunicorn" "-b" "0.0.0.0:7860" "app:app"]
17
-
 
9
  COPY --chown=user ./requirements.txt requirements.txt
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
12
+ # Debugging: Check gunicorn installation and PATH
13
+ RUN echo "PATH: $PATH"
14
+ RUN which gunicorn
15
+ RUN pip list | grep gunicorn
16
+
17
  EXPOSE 7860
18
 
19
  COPY --chown=user . /app
20
+ CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]