Skip to content

Commit

Permalink
Manually specify dll name (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bardin08 authored May 19, 2024
2 parents 325c372 + 5636b91 commit 358d3a6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions TemplateService/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,4 @@ RUN dotnet publish "$SOLUTION_NAME.sln" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .

ARG SOLUTION_NAME
ENV SOLUTION_NAME=$SOLUTION_NAME

ENTRYPOINT ["dotnet", "${SOLUTION_NAME}.dll"]
ENTRYPOINT ["dotnet", "TemplateService.dll"]

0 comments on commit 358d3a6

Please sign in to comment.