Skip to content

Commit c41b627

Browse files
committed
fix(Dockerfile): correct project file path in publish command
- Updates the path for the project file in the Dockerfile from a relative path to the absolute path for the dotnet publish command. - Ensures successful build and publish of the application during Docker image creation.
1 parent eefa0c7 commit c41b627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ES.Kubernetes.Reflector/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY . .
99
RUN dotnet build "src/ES.Kubernetes.Reflector/ES.Kubernetes.Reflector.csproj" -c $BUILD_CONFIGURATION
1010

1111
FROM build AS publish
12-
RUN dotnet publish "ES.Kubernetes.Reflector.csproj" -c $BUILD_CONFIGURATION -o /app/publish --no-build /p:UseAppHost=false
12+
RUN dotnet publish "src/ES.Kubernetes.Reflector/ES.Kubernetes.Reflector.csproj" -c $BUILD_CONFIGURATION -o /app/publish --no-build /p:UseAppHost=false
1313

1414
FROM base AS final
1515
WORKDIR /app

0 commit comments

Comments
 (0)