Pin Dockerfile Python version explicitly to a release tag
This commit is contained in:
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user