Skip to content

Commit 4b29f6c

Browse files
authored
Merge pull request #222 from grosa1/fix/dockerfile-smell-DL3025
Fix for Dockerfile smell DL3025
2 parents 7a2ca3f + e2d6d6e commit 4b29f6c

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)