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 5d6ce31 commit e39acb6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ 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"]
ENTRYPOINT [ "python3", "main.py"]

0 comments on commit e39acb6

Please sign in to comment.