Update Dockerfile
Browse files- Dockerfile +18 -18
Dockerfile
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
-
# Use official Python image
|
| 2 |
-
FROM python:3.10-slim
|
| 3 |
-
|
| 4 |
-
# Set working directory
|
| 5 |
-
WORKDIR /app
|
| 6 |
-
|
| 7 |
-
# Copy files
|
| 8 |
-
COPY . .
|
| 9 |
-
|
| 10 |
-
# Install dependencies
|
| 11 |
-
RUN pip install --upgrade pip
|
| 12 |
-
RUN pip install -r requirements.txt
|
| 13 |
-
|
| 14 |
-
# Expose port
|
| 15 |
-
EXPOSE
|
| 16 |
-
|
| 17 |
-
# Run your Flask app
|
| 18 |
-
CMD ["python", "app.py"]
|
|
|
|
| 1 |
+
# Use official Python image
|
| 2 |
+
FROM python:3.10-slim
|
| 3 |
+
|
| 4 |
+
# Set working directory
|
| 5 |
+
WORKDIR /app
|
| 6 |
+
|
| 7 |
+
# Copy files
|
| 8 |
+
COPY . .
|
| 9 |
+
|
| 10 |
+
# Install dependencies
|
| 11 |
+
RUN pip install --upgrade pip
|
| 12 |
+
RUN pip install -r requirements.txt
|
| 13 |
+
|
| 14 |
+
# Expose port
|
| 15 |
+
EXPOSE 7860
|
| 16 |
+
|
| 17 |
+
# Run your Flask app
|
| 18 |
+
CMD ["python", "app.py"]
|