Skip to content

Commit 5d6ce31

Browse files
author
Antonin
committed
🚧 edit Dockerfile
1 parent 2370a91 commit 5d6ce31

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ FROM python:slim-buster
33

44

55
#Labels as key value pair
6-
LABEL Maintainer="roushan.me17"
6+
LABEL Maintainer="antonin alves"
77

88

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

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

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

21-
CMD [ "python3", "./main.py"]
21+
CMD [ "python3", "main.py"]

0 commit comments

Comments
 (0)