From 2e4e800e11a9522c01bae7dc43c747259caa50f2 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Wed, 10 Apr 2024 00:54:55 +0200 Subject: [PATCH] [docker] Remove unnecessary ARG statements --- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 76770e68..debfede0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,6 @@ RUN dotnet publish --no-restore -c Release -a $TARGETARCH -o /app -p:EnableAOT=t # https://github.com/dotnet/dotnet-docker/blob/main/samples/enable-globalization.md # final stage/image FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine-composite AS image-aot -ARG mode=jit WORKDIR /app COPY --from=builder-aot /app . ENTRYPOINT ["./Iceshrimp.Backend", "--environment", "Production", "--migrate-and-start"] @@ -52,7 +51,6 @@ ENTRYPOINT ["./Iceshrimp.Backend", "--environment", "Production", "--migrate-and # https://github.com/dotnet/dotnet-docker/blob/main/samples/enable-globalization.md # final stage/image FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine-composite AS image-jit -ARG mode=jit WORKDIR /app COPY --from=builder-jit /app . ENTRYPOINT ["./Iceshrimp.Backend", "--environment", "Production", "--migrate-and-start"]