Skip to content

Commit

Permalink
Change back to port 80.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Nov 16, 2023
1 parent f35ebb3 commit 67298c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# Stage 1, Build Backend
#
FROM mcr.microsoft.com/dotnet/sdk:7.0 as backend
FROM mcr.microsoft.com/dotnet/sdk:8.0 as backend

WORKDIR /src

Expand Down Expand Up @@ -38,7 +38,7 @@ RUN dotnet publish --no-restore assets/Squidex.Assets.ResizeService/Squidex.Asse
#
# Stage 3, Build runtime
#
FROM mcr.microsoft.com/dotnet/aspnet:7.0-bullseye-slim
FROM mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim

# Default AspNetCore directory
WORKDIR /app
Expand All @@ -48,4 +48,6 @@ COPY --from=backend /build/ .

EXPOSE 80

ENV ASPNETCORE_HTTP_PORTS=80

ENTRYPOINT ["dotnet", "Squidex.Assets.ResizeService.dll"]

0 comments on commit 67298c0

Please sign in to comment.