+8
-1
@@ -15,8 +15,15 @@ WORKDIR /app
|
||||
ENV ASPNETCORE_ENVIRONMENT=Production \
|
||||
ASPNETCORE_HTTP_PORTS=8080
|
||||
# curl: used by the HEALTHCHECK (not present in the base image)
|
||||
# libfontconfig1 + fonts: required by DevExpress.Drawing's Skia backend for PDF text
|
||||
# rendering. fonts-noto-cjk supplies the Chinese glyphs used in the receipt PDF.
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends curl \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
curl \
|
||||
libfontconfig1 \
|
||||
fontconfig \
|
||||
fonts-dejavu \
|
||||
fonts-noto-cjk \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=build /app/publish .
|
||||
# storage dir created + owned for the non-root app user
|
||||
|
||||
Reference in New Issue
Block a user