mau_mau_bot/Dockerfile
nikitastykov 6109c90d06 Changed the python version to the supported and tested one.
Removed extra requirements.txt installation.
2021-12-08 18:55:58 +00:00

18 lines
340 B
Docker

FROM python:alpine3.4
RUN apk add --no-cache gettext
WORKDIR /app/
COPY 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
ENTRYPOINT python3 ./bot.py