Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0 as build-env
WORKDIR /src
COPY *.csproj .
COPY . .
RUN dotnet restore
COPY . .
RUN dotnet publish -c Release -o /publish
Expand All @@ -10,4 +10,4 @@ WORKDIR /publish
COPY --from=build-env /publish .
ENV ASPNETCORE_URLS=http://+:6000
EXPOSE 6000
ENTRYPOINT ["dotnet", "demo-dotnet.dll"]
ENTRYPOINT ["dotnet", "demo-dotnet.dll"]