Skip to content

Commit

Permalink
#92: PricingService update
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Dec 24, 2023
1 parent 813fd26 commit 3ba5435
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions SwiftParcel.Services.Pricing/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Use the .NET 6.0 SDK image to build the application
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /app
COPY . .
RUN dotnet publish src/SwiftParcel.Services.Pricing.Api -c release -o out

# Use the .NET 6.0 runtime image to run the application
FROM mcr.microsoft.com/dotnet/aspnet:6.0
WORKDIR /app
COPY --from=build /app/out .
ENV ASPNETCORE_URLS http://*:80
ENV ASPNETCORE_ENVIRONMENT docker
ENTRYPOINT ["dotnet", "SwiftParcel.Services.Pricing.Api.dll"]

0 comments on commit 3ba5435

Please sign in to comment.