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