mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-25 17:31:00 +00:00
Install babel before running compile_locales.py
This commit is contained in:
parent
4c17cd7572
commit
fa8516516c
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ RUN python -mvenv venv && ./venv/bin/pip install --upgrade pip
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Install package from source code, compile translations
|
# Install package from source code, compile translations
|
||||||
RUN ./venv/bin/python compile_locales.py \
|
RUN ./venv/bin/pip install Babel==2.11.0 && ./venv/bin/python compile_locales.py \
|
||||||
&& ./venv/bin/pip install . \
|
&& ./venv/bin/pip install . \
|
||||||
&& ./venv/bin/pip cache purge
|
&& ./venv/bin/pip cache purge
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ RUN if [ "$with_models" = "true" ]; then \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install package from source code
|
# Install package from source code
|
||||||
RUN python3 compile_locales.py \
|
RUN pip3 install Babel==2.11.0 && python3 compile_locales.py \
|
||||||
&& pip3 install . \
|
&& pip3 install . \
|
||||||
&& pip3 cache purge
|
&& pip3 cache purge
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue