randomSpace / Dockerfile
complete-dope
4th
7ee8a69
raw
history blame contribute delete
No virus
467 Bytes
# 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"]