Skip to content

Commit

Permalink
Update Dockerfile to use non-Alpine .NET images
Browse files Browse the repository at this point in the history
  • Loading branch information
urumo committed Oct 14, 2024
1 parent dc762c8 commit f909793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Argon.Api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM --platform=linux/aarch64 mcr.microsoft.com/dotnet/aspnet:8.0-alpine3.18-arm64v8 AS base
FROM --platform=linux/aarch64 mcr.microsoft.com/dotnet/aspnet:8.0 AS base
USER $APP_UID
WORKDIR /app
EXPOSE 8080
EXPOSE 8081

FROM --platform=linux/aarch64 mcr.microsoft.com/dotnet/sdk:8.0-alpine3.18-arm64v8 AS build
FROM --platform=linux/aarch64 mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["src/Argon.Api/Argon.Api.csproj", "src/Argon.Api/"]
Expand Down

0 comments on commit f909793

Please sign in to comment.