Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -7,14 +7,13 @@ WORKDIR /app
|
|
| 7 |
# Copy all files from your project to the container
|
| 8 |
COPY . /app
|
| 9 |
|
|
|
|
|
|
|
| 10 |
# Install dependencies
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
# Expose the port that Flask runs on
|
| 14 |
EXPOSE 7860
|
| 15 |
|
| 16 |
-
sudo chmod -R 777 /app
|
| 17 |
-
|
| 18 |
-
|
| 19 |
# Run the Flask app
|
| 20 |
CMD ["python", "app.py"]
|
|
|
|
| 7 |
# Copy all files from your project to the container
|
| 8 |
COPY . /app
|
| 9 |
|
| 10 |
+
RUN chmod -R 777 /app
|
| 11 |
+
|
| 12 |
# Install dependencies
|
| 13 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
|
| 15 |
# Expose the port that Flask runs on
|
| 16 |
EXPOSE 7860
|
| 17 |
|
|
|
|
|
|
|
|
|
|
| 18 |
# Run the Flask app
|
| 19 |
CMD ["python", "app.py"]
|