This commit is contained in:
Jeff Leung 2024-02-27 20:16:39 -08:00
parent feb1326cee
commit 4c6a9e6dec
1 changed files with 1 additions and 1 deletions

View File

@ -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"]