1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-18 08:27:03 +02:00

Remove libicu dep

This commit is contained in:
Piero Toffanin 2022-12-11 01:04:12 -05:00
parent 9629cb8888
commit c21fedc6bb

View File

@ -4,7 +4,7 @@ WORKDIR /app
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update -qq \
&& apt-get -qqq install --no-install-recommends -y libicu-dev pkg-config gcc g++ \
&& apt-get -qqq install --no-install-recommends -y pkg-config gcc g++ \
&& apt-get clean \
&& rm -rf /var/lib/apt
@ -25,7 +25,6 @@ ARG with_models=false
ARG models=
RUN addgroup --system --gid 1032 libretranslate && adduser --system --uid 1032 libretranslate
RUN apt-get update -qq && apt-get -qqq install --no-install-recommends -y libicu67 && apt-get clean && rm -rf /var/lib/apt
USER libretranslate
COPY --from=builder --chown=1032:1032 /app /app