forked from mirrors/bookwyrm
Fixes (hopefully) makemessages command
This commit is contained in:
parent
8bab56dd83
commit
1d206c3739
2 changed files with 3 additions and 2 deletions
|
@ -10,6 +10,7 @@ WORKDIR /app
|
|||
|
||||
COPY requirements.txt /app/
|
||||
RUN pip install -r requirements.txt
|
||||
RUN apt-get update && apt-get install -y gettext libgettextpo-dev
|
||||
|
||||
COPY ./bookwyrm /app
|
||||
COPY ./celerywyrm /app
|
||||
|
|
4
bw-dev
4
bw-dev
|
@ -91,10 +91,10 @@ case "$CMD" in
|
|||
execweb python manage.py collectstatic --no-input
|
||||
;;
|
||||
makemessages)
|
||||
django-admin makemessages --extension html --ignore=venv3 $@
|
||||
execweb django-admin makemessages --extension html --ignore=venv3 $@
|
||||
;;
|
||||
compilemessages)
|
||||
django-admin compilemessages --ignore venv3 $@
|
||||
execweb django-admin compilemessages --ignore venv3 $@
|
||||
;;
|
||||
build)
|
||||
docker-compose build
|
||||
|
|
Loading…
Reference in a new issue