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
This commit is contained in:
Nikita 2021-12-09 05:46:44 +01:00 committed by GitHub
parent 6109c90d06
commit a8d5132dc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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