Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
xirixiz authored Jan 6, 2025
1 parent 8a5f719 commit 52cc845
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,19 @@ COPY --from=staging /app /app

RUN apk add --no-cache \
bash curl coreutils ca-certificates shadow jq nginx \
openssl postgresql17-client libjpeg-turbo tzdata py3-mysqlclient s6-overlay \
netcat-openbsd mariadb-client dpkg \
openssl postgresql17-client libjpeg-turbo tzdata \
py3-mysqlclient s6-overlay netcat-openbsd mariadb-client dpkg \
&& echo "**** install build dependencies and pip packages ****" \
&& apk add --no-cache --virtual .build-deps \
gcc python3-dev musl-dev postgresql17-dev build-base \
libffi-dev jpeg-dev rust cargo \
gcc python3-dev musl-dev postgresql17-dev build-base libffi-dev jpeg-dev zlib-dev rust cargo \
freetype-dev lcms2-dev openjpeg-dev tiff-dev tk-dev tcl-dev harfbuzz-dev fribidi-dev \
libimagequant-dev libxcb-dev libpng-dev \
&& python3 -m pip install --no-cache-dir --upgrade pip \
&& python3 -m pip install --no-cache-dir -r /app/dsmrreader/provisioning/requirements/base.txt \
&& python3 -m pip install --no-cache-dir tzupdate \
&& echo "**** cleanup ****" \
&& apk del .build-deps \
&& pip cache purge \
&& rm -rf /var/cache/apk/* /tmp/* /root/.cache

# Setup nginx
Expand Down

0 comments on commit 52cc845

Please sign in to comment.