Skip to content

Commit c83ef2c

Browse files
authored
Merge pull request #20 from Alistair1231/patch-1
set specific versions for apk add
2 parents e115779 + 315006f commit c83ef2c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ RUN dotnet publish -c Release --no-restore -a $TARGETARCH -o /app/out
1212
# Run Stage
1313
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine3.19
1414
RUN apk add --update --no-cache \
15-
python3=~3.11.9-r0 \
16-
py3-pip \
17-
curl \
15+
python3=3.11.9-r1 \
16+
py3-pip=23.3.1-r0 \
17+
curl=8.9.0-r0 \
1818
&& ln -sf python3 /usr/bin/python
1919
ENV DOTNET_RUNNING_IN_CONTAINER=true
2020
ENV DOTNET_gcServer=1
@@ -32,4 +32,4 @@ RUN rm -rf /app/python || true && \
3232
mkdir -p /app/python || true
3333
RUN pip3 install -r /app/requirements.txt -t /app/python
3434

35-
ENTRYPOINT ["./zilean-api"]
35+
ENTRYPOINT ["./zilean-api"]

0 commit comments

Comments
 (0)