From cfcc2898fb421ccc05fbb869be684aa1ce45f5e1 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Sun, 15 Nov 2020 14:43:18 +0300 Subject: [PATCH] Switch to Python 3.9 image Having Python preinstalled saves time https://hub.docker.com/_/python --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 91b324a..d8acedc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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