Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
# Use Python 3.
|
| 2 |
-
FROM python:3.
|
| 3 |
|
| 4 |
# Set the working directory
|
| 5 |
WORKDIR /app
|
|
@@ -20,3 +20,4 @@ COPY . .
|
|
| 20 |
|
| 21 |
# Run the application
|
| 22 |
CMD ["python", "app.py"]
|
|
|
|
|
|
| 1 |
+
# Use Python 3.10 Slim as Base Image
|
| 2 |
+
FROM python:3.10-slim-buster
|
| 3 |
|
| 4 |
# Set the working directory
|
| 5 |
WORKDIR /app
|
|
|
|
| 20 |
|
| 21 |
# Run the application
|
| 22 |
CMD ["python", "app.py"]
|
| 23 |
+
|