Skip to content

Commit 7ea1273

Browse files
committed
refactor: Update Dockerfile to expose port 8081 instead of 8080
1 parent 343b519 commit 7ea1273

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

InertiaDemo/InertiaDemo/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
22

33
WORKDIR /app
44
EXPOSE 8080
5-
6-
ENV ASPNETCORE_URLS=http://+:8080
5+
EXPOSE 8081
76

87
USER app
9-
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build
8+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
109
ARG configuration=Release
1110
WORKDIR /src
1211
COPY ["InertiaDemo/InertiaDemo/InertiaDemo.csproj", "InertiaDemo/InertiaDemo/"]

0 commit comments

Comments
 (0)