mau_mau_bot/Dockerfile
Nikita a8d5132dc5
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
2021-12-09 05:46:44 +01:00

18 lines
340 B
Docker

FROM python:alpine3.4
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' \;
VOLUME /app/data
ENV UNO_DB /app/data/uno.sqlite3
ENTRYPOINT python3 ./bot.py