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:
parent
6109c90d06
commit
a8d5132dc5
1 changed files with 1 additions and 1 deletions
|
@ -4,12 +4,12 @@ RUN apk add --no-cache gettext
|
||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
COPY . .
|
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
|
||||||
|
|
Loading…
Reference in a new issue