Pin Dockerfile Python version explicitly to a release tag

This commit is contained in:
vlad doster
2021-02-06 06:48:17 -06:00
committed by GitHub
parent 4c85e7c015
commit b44b458363

View File

@@ -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"]