blob: 2f41d954916ad5f6f6d42e6a858cb371a5ccf6c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
WORKDIR /source
COPY . .
RUN dotnet publish --property:OutputPath=/app
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine
EXPOSE 8080
WORKDIR /app
COPY --from=build /app .
USER $APP_UID
ENTRYPOINT ["./RhSolutions.Api"]
|