Skip to content

Commit

Permalink
Fix for Dockerfile smell DL3025
Browse files Browse the repository at this point in the history
Signed-off-by: Giovanni Rosa <[email protected]>
  • Loading branch information
Giovanni Rosa committed Apr 14, 2023
1 parent 6cc01b1 commit e2d6d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LiveDemo/Dockerfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ WORKDIR /app
COPY --from=publish /app .
# ENTRYPOINT ["dotnet", "Ng2PdfJsViewerDemo.dll"]
# heroku uses the following
CMD ASPNETCORE_URLS=http://*:$PORT dotnet Ng2PdfJsViewerDemo.dll
CMD ["ASPNETCORE_URLS=http://*:$PORT", "dotnet", "Ng2PdfJsViewerDemo.dll"]

0 comments on commit e2d6d6e

Please sign in to comment.