From 4c6a9e6dec4636cfa71900376b55d8e5f40da9cb Mon Sep 17 00:00:00 2001 From: Jeff Leung Date: Tue, 27 Feb 2024 20:16:39 -0800 Subject: [PATCH] Add /tmp --- AS1024.GeoFeed.MinimalAPI/Dockerfile.bare-image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AS1024.GeoFeed.MinimalAPI/Dockerfile.bare-image b/AS1024.GeoFeed.MinimalAPI/Dockerfile.bare-image index a1edb90..b218b4d 100644 --- a/AS1024.GeoFeed.MinimalAPI/Dockerfile.bare-image +++ b/AS1024.GeoFeed.MinimalAPI/Dockerfile.bare-image @@ -16,9 +16,9 @@ ARG BUILD_CONFIGURATION=Release RUN dotnet publish "./AS1024.GeoFeed.MinimalAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish -r linux-musl-x64 /p:StaticOpenSslLinking=true /p:StaticExecutable=true /p:StaticallyLinked=true /p:StripSymbols=true /p:DebugType=None /p:DebugSymbols=false FROM scratch AS final +WORKDIR /tmp WORKDIR /app EXPOSE 8080 COPY --from=publish /app/publish . COPY --from=build /etc/ssl/certs/* /etc/ssl/certs/ -RUN --mount=type=tmpfs /tmp ENTRYPOINT ["./AS1024.GeoFeed.MinimalAPI"] \ No newline at end of file