We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2370a91 commit 5d6ce31Copy full SHA for 5d6ce31
1 file changed
Dockerfile
@@ -3,19 +3,19 @@ FROM python:slim-buster
3
4
5
#Labels as key value pair
6
-LABEL Maintainer="roushan.me17"
+LABEL Maintainer="antonin alves"
7
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"]
+CMD [ "python3", "main.py"]
0 commit comments