diff --git a/Dockerfile b/Dockerfile index 5ea1eee..78c2488 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +ENTRYPOINT [ "python3", "main.py"] \ No newline at end of file