🔀 Merge pull request #106 from nikitastykov/master

Dockerfile changes :Changed the python version + removed extra requirements.txt
This commit is contained in:
Jannes Höke 2021-12-10 15:46:39 +01:00 committed by GitHub
commit 4021c1483e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
FROM python:alpine FROM python:alpine3.4
RUN apk add --no-cache gettext RUN apk add --no-cache gettext
@ -10,7 +10,6 @@ COPY . .
RUN cd locales && find . -maxdepth 2 -type d -name 'LC_MESSAGES' -exec ash -c 'msgfmt {}/unobot.po -o {}/unobot.mo' \; 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 VOLUME /app/data
ENV UNO_DB /app/data/uno.sqlite3 ENV UNO_DB /app/data/uno.sqlite3