Skip to content

Commit 13ed9e2

Browse files
authored
Update Dockerfile
1 parent 86f1a74 commit 13ed9e2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Dockerfile

+5-4
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,15 @@ COPY --from=staging /app /app
5454

5555
RUN apk add --no-cache \
5656
bash curl coreutils ca-certificates shadow jq nginx \
57-
openssl postgresql17-client libjpeg-turbo tzdata s6-overlay \
58-
netcat-openbsd mariadb-client dpkg \
57+
openssl postgresql17-client libjpeg-turbo tzdata
58+
py3-mysqlclient s6-overlay \
59+
netcat-openbsd mariadb-client dpkg \
5960
&& echo "**** install build dependencies and pip packages ****" \
6061
&& apk add --no-cache --virtual .build-deps \
6162
gcc python3-dev musl-dev postgresql17-dev build-base \
62-
libffi-dev jpeg-dev mariadb-dev mariadb-connector-c-dev rust cargo \
63+
libffi-dev jpeg-dev rust cargo \
6364
&& python3 -m pip install --no-cache-dir -r /app/dsmrreader/provisioning/requirements/base.txt \
64-
&& python3 -m pip install --no-cache-dir mysqlclient tzupdate \
65+
&& python3 -m pip install --no-cache-dir tzupdate \
6566
&& echo "**** cleanup ****" \
6667
&& apk del .build-deps \
6768
&& rm -rf /var/cache/apk/* /tmp/* /root/.cache

0 commit comments

Comments
 (0)