Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
|
@@ -12,10 +12,5 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
| 12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 13 |
|
| 14 |
COPY --chown=user . /app
|
| 15 |
-
|
| 16 |
-
# Set environment variables
|
| 17 |
-
ENV FLASK_APP=app.py
|
| 18 |
-
ENV FLASK_ENV=production
|
| 19 |
-
|
| 20 |
# Run the application
|
| 21 |
-
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "run:app"]
|
|
|
|
| 12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 13 |
|
| 14 |
COPY --chown=user . /app
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
# Run the application
|
| 16 |
+
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "run:app"]
|