Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -5,6 +5,7 @@ WORKDIR /code
|
|
| 5 |
COPY requirements.txt .
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
|
|
|
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
# Create uploads directory with write permissions
|
|
@@ -14,4 +15,4 @@ EXPOSE 7860
|
|
| 14 |
|
| 15 |
ENV FLASK_APP=app.py
|
| 16 |
|
| 17 |
-
CMD ["flask", "run", "--host=0.0.0.0", "--port=7860"]
|
|
|
|
| 5 |
COPY requirements.txt .
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
|
| 8 |
+
# Copy all code, including templates and static folders
|
| 9 |
COPY . .
|
| 10 |
|
| 11 |
# Create uploads directory with write permissions
|
|
|
|
| 15 |
|
| 16 |
ENV FLASK_APP=app.py
|
| 17 |
|
| 18 |
+
CMD ["flask", "run", "--host=0.0.0.0", "--port=7860"]
|