We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bdb10a commit fe8f03fCopy full SHA for fe8f03f
1 file changed
Dockerfile
@@ -1,8 +1,13 @@
1
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
2
WORKDIR /src
3
4
+COPY CodeBeam.Website/*.csproj CodeBeam.Website/
5
+COPY CodeBeam.Website.Client/*.csproj CodeBeam.Website.Client/
6
+
7
+RUN dotnet restore CodeBeam.Website/CodeBeam.Website.csproj
8
9
COPY . .
-RUN dotnet restore
10
11
RUN dotnet publish CodeBeam.Website/CodeBeam.Website.csproj -c Release -o /app/publish
12
13
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime
@@ -13,4 +18,4 @@ COPY --from=build /app/publish .
18
ENV ASPNETCORE_URLS=http://+:8080
14
19
EXPOSE 8080
15
20
16
-ENTRYPOINT ["dotnet", "CodeBeam.Website.dll"]
21
+ENTRYPOINT ["dotnet", "CodeBeam.Website.dll"]
0 commit comments