0

I followed this blog post to get an asp.net application running in a docker container, but straight after running my container it stops. When I look at the logs for the container, this is all I get:

2015-05-28T03:46:56.959409351Z Please specify the command to run

My dockerfile content is as follows:

FROM microsoft/aspnet
COPY . /app
WORKDIR /app
RUN ["dnu", "restore"]
EXPOSE 5004
ENTRYPOINT ["dnx", "kestrel"]

What have I missed?

1 Answer 1

1

I think the command you need to run is actually dnx . kestrel so try changing the ENTRYPOINT to be:

ENTRYPOINT ["dnx", ".", "kestrel"]
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .