AronWolverine commited on
Commit
ff270f3
·
verified ·
1 Parent(s): 63767d2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -3,7 +3,7 @@ FROM python:3.9
3
 
4
  # Set the working directory in the container
5
  WORKDIR /code
6
-
7
 
8
  RUN pip install --no-cache-dir -r requirements.txt
9
 
@@ -16,4 +16,4 @@ EXPOSE 7860
16
 
17
 
18
  # Command to run the Flask application
19
- CMD ["gunicorn", "--bind", "0.0.0.0:7860", "main:app"]
 
3
 
4
  # Set the working directory in the container
5
  WORKDIR /code
6
+ COPY ./requirements.txt /code/requirements.txt
7
 
8
  RUN pip install --no-cache-dir -r requirements.txt
9
 
 
16
 
17
 
18
  # Command to run the Flask application
19
+ CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]