1
0
Fork 0
mirror of synced 2024-06-20 19:20:20 +12:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
FROM python:latest
FROM python:3.9
WORKDIR "/root/Bulk Downloader for Reddit"
COPY ./requirements.txt ./
@ -6,4 +6,4 @@ RUN ["pip", "install", "-r", "requirements.txt"]
EXPOSE 8080
EXPOSE 7634
CMD ["python", "script.py", "-d", "downloads"]
CMD ["python", "script.py", "-d", "downloads"]