mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-12-18 08:27:03 +02: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 . .
|
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 New Issue
Block a user