Skip to content

Commit

Permalink
🚧 edit Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonin committed Aug 21, 2022
1 parent 2370a91 commit 5d6ce31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ FROM python:slim-buster


#Labels as key value pair
LABEL Maintainer="roushan.me17"
LABEL Maintainer="antonin alves"


# Any working directory can be chosen as per choice like '/' or '/home' etc
# i have chosen /usr/app/src
WORKDIR /

#to COPY the remote file at working directory in container
COPY * ./
COPY . .
# Now the structure looks like this '/usr/app/src/test.py'

RUN pip install -r requirements.txt
#CMD instruction should be used to run the software
#contained by your image, along with any arguments.

CMD [ "python3", "./main.py"]
CMD [ "python3", "main.py"]

0 comments on commit 5d6ce31

Please sign in to comment.