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:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user