Skip to content

Commit e2d6d6e

Browse files
author
Giovanni Rosa
committed
Fix for Dockerfile smell DL3025
Signed-off-by: Giovanni Rosa <[email protected]>
1 parent 6cc01b1 commit e2d6d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LiveDemo/Dockerfile.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ WORKDIR /app
1818
COPY --from=publish /app .
1919
# ENTRYPOINT ["dotnet", "Ng2PdfJsViewerDemo.dll"]
2020
# heroku uses the following
21-
CMD ASPNETCORE_URLS=http://*:$PORT dotnet Ng2PdfJsViewerDemo.dll
21+
CMD ["ASPNETCORE_URLS=http://*:$PORT", "dotnet", "Ng2PdfJsViewerDemo.dll"]

0 commit comments

Comments
 (0)