You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Admin/Sources/HeartTrack/Dockerfile

17 lines
411 B

FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /Sources/HeartTrack
COPY . .
WORKDIR /Sources/HeartTrack
ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "HeartTrack.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
USER $APP_UID
WORKDIR /app
COPY --from=build /app/publish .
EXPOSE 8080
ENTRYPOINT ["dotnet", "HeartTrackAPI.dll"]