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 86f1a74 commit 13ed9e2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,15 @@ COPY --from=staging /app /app

RUN apk add --no-cache \
bash curl coreutils ca-certificates shadow jq nginx \
openssl postgresql17-client libjpeg-turbo tzdata 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 mariadb-dev mariadb-connector-c-dev rust cargo \
libffi-dev jpeg-dev rust cargo \
&& python3 -m pip install --no-cache-dir -r /app/dsmrreader/provisioning/requirements/base.txt \
&& python3 -m pip install --no-cache-dir mysqlclient tzupdate \
&& python3 -m pip install --no-cache-dir tzupdate \
&& echo "**** cleanup ****" \
&& apk del .build-deps \
&& rm -rf /var/cache/apk/* /tmp/* /root/.cache
Expand Down

0 comments on commit 13ed9e2

Please sign in to comment.