1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

Switch to Python 3.9 image

Having Python preinstalled saves time

https://hub.docker.com/_/python
This commit is contained in:
Anatoli Babenia
2020-11-15 14:43:18 +03:00
committed by GitHub
parent 7095b7bddb
commit cfcc2898fb
+2 -2
View File
@@ -1,10 +1,10 @@
FROM ubuntu:20.04
FROM python:3.9-slim
### copying app sources
WORKDIR /app
COPY . /app
RUN pip install --upgrade -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
## fetching cheat sheets
RUN python3 lib/fetch.py fetch-all