Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet sample app needs a default entrypoint or README #105

Open
arturenault opened this issue Mar 25, 2021 · 1 comment
Open

dotnet sample app needs a default entrypoint or README #105

arturenault opened this issue Mar 25, 2021 · 1 comment

Comments

@arturenault
Copy link

The overall readme for sample apps says the sample apps can be built and run with:

pack build -p apps/<APP> --builder cnbs/sample-builder:<bionic OR alpine> sample-app
After building the app you should be able to simply run it via docker run -it -p 8080:8080 sample-app. Go to localhost:8080 to see the app running.

For the dotnet sample the build step works. However, docker run fails with:

❯ docker run -it -p 8080:8080 sample-app-dotnet
ERROR: failed to launch: determine start command: when there is no default process a command is required

The sample app should be fixed so it doesn't require a start command, or the dotnet sample should have its own readme indicating the correct command to start with. I've been digging and haven't been able to figure it out yet. The usual suspects ("dotnet" "dotnet run", etc) don't work.

@jromero
Copy link
Member

jromero commented Mar 25, 2021

cc: @micahyoung

Srishti-j18 added a commit to Srishti-j18/samples that referenced this issue Feb 2, 2024
Srishti-j18 added a commit to Srishti-j18/samples that referenced this issue Feb 2, 2024
Srishti-j18 added a commit to Srishti-j18/samples that referenced this issue Feb 2, 2024
Signed-off-by: Srishti-j18 <[email protected]>
Srishti-j18 added a commit to Srishti-j18/samples that referenced this issue Feb 3, 2024
Signed-off-by: Srishti-j18 <[email protected]>
AidanDelaney added a commit that referenced this issue Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants