We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6e0e9a commit 829f424Copy full SHA for 829f424
1 file changed
Dockerfile
@@ -12,7 +12,8 @@ COPY TechStacks.ServiceModel ./TechStacks.ServiceModel
12
13
# Restore and publish only the API project (avoid solution projects not copied into the image)
14
RUN dotnet restore TechStacks/TechStacks.csproj
15
-RUN dotnet publish TechStacks/TechStacks.csproj -c Release --no-restore
+# Disable .NET's built-in containerization (PublishProfile=DefaultContainer) inside Docker
16
+RUN dotnet publish TechStacks/TechStacks.csproj -c Release --no-restore -p:PublishProfile=
17
18
# 2. Build Next.js app
19
FROM node:20-alpine AS next-build
0 commit comments