Spaces:
Runtime error
Runtime error
File size: 467 Bytes
1fd6029 d8253ac 1fd6029 d8253ac 7ee8a69 |
1 2 3 4 5 6 7 8 9 10 |
# this acts as an image file for our app
# using this we create an image that we are using in our own laptop
# FROM -> this is just an base development from where we want to start , these files are basically / usually available in the docker hub
# FROM python:3.11 -> here the 3.11 will be the specifics of the python image
# COPY -> here we copy our files ( that we have )
FROM python:3.8
COPY . /code
WORKDIR /code
# CMD python main.py
CMD ["python", "app.py"] |