Dockerfile with better caching
thanks @divadsn
This commit is contained in:
parent
e5dae6db99
commit
6712b5c362
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ FROM python:alpine
|
|||
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' \;
|
||||
|
|
Loading…
Reference in a new issue