Skip to content

Commit e39acb6

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

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@ LABEL Maintainer="antonin alves"
88

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

1312
#to COPY the remote file at working directory in container
14-
COPY . .
13+
COPY ./ .
1514
# Now the structure looks like this '/usr/app/src/test.py'
1615

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

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

0 commit comments

Comments
 (0)