From a8d5132dc518cf911d3246ab1be8d4c9ed15a43e Mon Sep 17 00:00:00 2001 From: Nikita <43541437+nikitastykov@users.noreply.github.com> Date: Thu, 9 Dec 2021 05:46:44 +0100 Subject: [PATCH] Updated Dockerfile Added the working and tested Python version, Previous imported the last version of python, which is not compatible Removed extra install requirements.txt step --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fa0b87a..bb84073 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,12 +4,12 @@ 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' \; -RUN pip install -r requirements.txt VOLUME /app/data ENV UNO_DB /app/data/uno.sqlite3