Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM python
|
| 2 |
|
| 3 |
# Create a non-root user with a different UID
|
| 4 |
RUN useradd -m -u 1001 user
|
|
@@ -18,4 +18,4 @@ RUN pip install requests
|
|
| 18 |
EXPOSE 8080
|
| 19 |
|
| 20 |
# Command to run the script
|
| 21 |
-
CMD ["
|
|
|
|
| 1 |
+
FROM python:3.8
|
| 2 |
|
| 3 |
# Create a non-root user with a different UID
|
| 4 |
RUN useradd -m -u 1001 user
|
|
|
|
| 18 |
EXPOSE 8080
|
| 19 |
|
| 20 |
# Command to run the script
|
| 21 |
+
CMD ["python", "run.py"]
|