Spaces:
Runtime error
Runtime error
complete-dope
commited on
Commit
•
d8253ac
1
Parent(s):
c094d7c
- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -3,7 +3,8 @@
|
|
3 |
# FROM -> this is just an base development from where we want to start , these files are basically / usually available in the docker hub
|
4 |
# FROM python:3.11 -> here the 3.11 will be the specifics of the python image
|
5 |
# COPY -> here we copy our files ( that we have )
|
6 |
-
FROM python
|
7 |
COPY . /code
|
8 |
WORKDIR /code
|
9 |
-
CMD python main.py
|
|
|
|
3 |
# FROM -> this is just an base development from where we want to start , these files are basically / usually available in the docker hub
|
4 |
# FROM python:3.11 -> here the 3.11 will be the specifics of the python image
|
5 |
# COPY -> here we copy our files ( that we have )
|
6 |
+
FROM python:3.8
|
7 |
COPY . /code
|
8 |
WORKDIR /code
|
9 |
+
# CMD python main.py
|
10 |
+
CMD ["python", "main.py"]
|