2

According to the docs is now possible run an asp.net core docker container on a linux app service.

https://learn.microsoft.com/en-us/azure/app-service-web/app-service-linux-using-custom-docker-image

I created a simple asp.net core 1.1 web api and followed the steps to run it. On the log, it says my app started, but I can't access. Anyone tried to run the same ?!

My Dockerfile:

FROM microsoft/dotnet:latest

COPY src/WebApi/bin/Release/netcoreapp1.1/publish/ /root/

EXPOSE 5000/tcp

WORKDIR /root

ENTRYPOINT dotnet WebApi.dll
1
  • How are you trying to access it? Commented Jan 13, 2017 at 20:00

1 Answer 1

1

In Application Settings I added an entry called PORT and gave it the 5000 value. Let me know if that works.

Best of luck!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.