Skip to content

Commit

Permalink
#432 - Update docker images.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed Nov 25, 2022
1 parent f50b2f8 commit 5871947
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.api-bullseye-slim
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Build sources.
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /src
COPY . ./
WORKDIR /src/src/Money.Api
RUN dotnet publish -c Release -r linux-x64 -o /app

# Final image.
FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim
FROM mcr.microsoft.com/dotnet/aspnet:7.0-bullseye-slim
WORKDIR /app
COPY --from=build /app .
ENTRYPOINT ["./Money.Api"]
4 changes: 2 additions & 2 deletions docker/Dockerfile.api-bullseye-slim-arm32v7
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Build sources.
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /src
COPY . ./
WORKDIR /src/src/Money.Api
RUN dotnet publish -c Release -r linux-arm -o /app

# Final image.
FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim-arm32v7
FROM mcr.microsoft.com/dotnet/aspnet:7.0-bullseye-slim-arm32v7
WORKDIR /app
COPY --from=build /app .
ENTRYPOINT ["./Money.Api"]

0 comments on commit 5871947

Please sign in to comment.