Skip to content

Instantly share code, notes, and snippets.

@Chrisso
Last active October 16, 2019 08:18
Show Gist options
  • Save Chrisso/ea58c05038b4de492fb03ea0b3d9c09a to your computer and use it in GitHub Desktop.
Save Chrisso/ea58c05038b4de492fb03ea0b3d9c09a to your computer and use it in GitHub Desktop.
devlog-docker
docker run --name devlog \
-p 8080:80 \
-v $(pwd):/app \
-w /app \
--rm \
--entrypoint dotnet \
mcr.microsoft.com/dotnet/core/aspnet:2.1 \
devlog.dll
version: "3"
services:
devlog:
image: mcr.microsoft.com/dotnet/core/aspnet:2.1
volumes:
- .:/app
working_dir: /app
entrypoint:
- dotnet
- devlog.dll
ports:
- "8080:80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment