Pin Dockerfile Python version explicitly to a release tag
This commit is contained in:
parent
4c85e7c015
commit
b44b458363
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM python:latest
|
FROM python:3.9
|
||||||
|
|
||||||
WORKDIR "/root/Bulk Downloader for Reddit"
|
WORKDIR "/root/Bulk Downloader for Reddit"
|
||||||
COPY ./requirements.txt ./
|
COPY ./requirements.txt ./
|
||||||
|
@ -6,4 +6,4 @@ RUN ["pip", "install", "-r", "requirements.txt"]
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
EXPOSE 7634
|
EXPOSE 7634
|
||||||
|
|
||||||
CMD ["python", "script.py", "-d", "downloads"]
|
CMD ["python", "script.py", "-d", "downloads"]
|
||||||
|
|
Loading…
Reference in a new issue