We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d6ce31 commit e39acb6Copy full SHA for e39acb6
1 file changed
Dockerfile
@@ -8,14 +8,13 @@ LABEL Maintainer="antonin alves"
8
9
# Any working directory can be chosen as per choice like '/' or '/home' etc
10
# i have chosen /usr/app/src
11
-WORKDIR /
12
13
#to COPY the remote file at working directory in container
14
-COPY . .
+COPY ./ .
15
# Now the structure looks like this '/usr/app/src/test.py'
16
17
RUN pip install -r requirements.txt
18
#CMD instruction should be used to run the software
19
#contained by your image, along with any arguments.
20
21
-CMD [ "python3", "main.py"]
+ENTRYPOINT [ "python3", "main.py"]
0 commit comments