Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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", "
|
|
|
|
| 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"]
|