Update Dockerfile
Browse files- Dockerfile +10 -1
Dockerfile
CHANGED
|
@@ -1,2 +1,11 @@
|
|
| 1 |
# Use an official Python runtime as a parent image
|
| 2 |
-
FROM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Use an official Python runtime as a parent image
|
| 2 |
+
FROM python:3.9-slim
|
| 3 |
+
|
| 4 |
+
# Set the working directory in the container
|
| 5 |
+
WORKDIR /app
|
| 6 |
+
|
| 7 |
+
# Copy the application code into the container
|
| 8 |
+
COPY main.py .
|
| 9 |
+
|
| 10 |
+
# Run main.py when the container launches
|
| 11 |
+
CMD ["python", "main.py"]
|