Skip to content

Commit 9573bc5

Browse files
authored
Add curl to runtime image (#618)
1 parent da21dc4 commit 9573bc5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ RUN dotnet publish src/UnityNuGet.Server -a "$TARGETARCH" -c Release -o /app/src
2323

2424
# Build runtime image
2525
FROM mcr.microsoft.com/dotnet/aspnet:10.0
26+
RUN apt-get update && \
27+
apt-get install -y curl && \
28+
rm -rf /var/lib/apt/lists/*
2629
WORKDIR /app
2730
COPY --from=build /app/src/out .
2831
ENTRYPOINT ["dotnet", "UnityNuGet.Server.dll"]

0 commit comments

Comments
 (0)