Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 548 Bytes
FROM kekekekenta/aspnet
# copy the contents of the local directory to /app/ on the image
ADD ./src/WebApplication /app/
# set the working directory for subsequent commands
WORKDIR /app
# fetch the NuGet dependencies for our application
RUN kpm restore
#ENV KRE_CONSOLE_HOST 1
# expose TCP port 5004 from container
EXPOSE 5004
# Configure the image as an executable
# When the image starts it will execute the “k kestrel” command
# effectively starting our web application
# (listening on port 5004 by project.json)
ENTRYPOINT ["k", "kestrel"]