Fix Dockerfile

main
ilitirit 1 year ago
parent ec76a47fed
commit 7be619adca

@ -22,7 +22,7 @@ ARG TARGET_RUNTIME=linux-x64
RUN dotnet publish "Expedience.Api/Expedience.Api.csproj" -c Release -o /app/publish --self-contained --runtime $TARGET_RUNTIME RUN dotnet publish "Expedience.Api/Expedience.Api.csproj" -c Release -o /app/publish --self-contained --runtime $TARGET_RUNTIME
# Set the base image for the final runtime # Set the base image for the final runtime
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy-arm64v8 AS build FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy-arm64v8
# Set the working directory # Set the working directory
WORKDIR /app WORKDIR /app

Loading…
Cancel
Save