Add /tmp
This commit is contained in:
parent
feb1326cee
commit
4c6a9e6dec
|
|
@ -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
|
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
|
FROM scratch AS final
|
||||||
|
WORKDIR /tmp
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
COPY --from=publish /app/publish .
|
COPY --from=publish /app/publish .
|
||||||
COPY --from=build /etc/ssl/certs/* /etc/ssl/certs/
|
COPY --from=build /etc/ssl/certs/* /etc/ssl/certs/
|
||||||
RUN --mount=type=tmpfs /tmp
|
|
||||||
ENTRYPOINT ["./AS1024.GeoFeed.MinimalAPI"]
|
ENTRYPOINT ["./AS1024.GeoFeed.MinimalAPI"]
|
||||||
Loading…
Reference in New Issue