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:
parent
9629cb8888
commit
c21fedc6bb
@ -4,7 +4,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update -qq \
|
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 \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt
|
&& rm -rf /var/lib/apt
|
||||||
|
|
||||||
@ -25,7 +25,6 @@ ARG with_models=false
|
|||||||
ARG models=
|
ARG models=
|
||||||
|
|
||||||
RUN addgroup --system --gid 1032 libretranslate && adduser --system --uid 1032 libretranslate
|
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
|
USER libretranslate
|
||||||
|
|
||||||
COPY --from=builder --chown=1032:1032 /app /app
|
COPY --from=builder --chown=1032:1032 /app /app
|
||||||
|
Loading…
Reference in New Issue
Block a user