mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-19 22:10:09 +01:00
Install babel before running compile_locales.py
This commit is contained in:
parent
4c17cd7572
commit
fa8516516c
@ -15,7 +15,7 @@ RUN python -mvenv venv && ./venv/bin/pip install --upgrade pip
|
||||
COPY . .
|
||||
|
||||
# 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 cache purge
|
||||
|
||||
|
@ -34,7 +34,7 @@ RUN if [ "$with_models" = "true" ]; then \
|
||||
fi
|
||||
|
||||
# Install package from source code
|
||||
RUN python3 compile_locales.py \
|
||||
RUN pip3 install Babel==2.11.0 && python3 compile_locales.py \
|
||||
&& pip3 install . \
|
||||
&& pip3 cache purge
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user