Compile locales before installing package

This commit is contained in:
Piero Toffanin 2023-01-06 14:06:16 -05:00
parent ca72e3ec3e
commit 4c17cd7572
2 changed files with 6 additions and 6 deletions

View file

@ -34,9 +34,9 @@ RUN if [ "$with_models" = "true" ]; then \
fi
# Install package from source code
RUN pip3 install . \
&& pip3 cache purge \
&& python3 compile_locales.py
RUN python3 compile_locales.py \
&& pip3 install . \
&& pip3 cache purge
# Depending on your cuda install you may need to uncomment this line to allow the container to access the cuda libraries
# See: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#post-installation-actions