From 6712b5c3628cfdf2dd63f32dc55cca18d85f2df1 Mon Sep 17 00:00:00 2001 From: JuniorJPDJ Date: Fri, 25 Dec 2020 17:41:15 +0100 Subject: [PATCH] Dockerfile with better caching thanks @divadsn --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5217d0d..55bc0d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,9 @@ FROM python:alpine RUN apk add --no-cache gettext WORKDIR /app/ +COPY requirements.txt . +RUN pip install -r requirements.txt + COPY . . RUN cd locales && find . -maxdepth 2 -type d -name 'LC_MESSAGES' -exec ash -c 'msgfmt {}/unobot.po -o {}/unobot.mo' \;