Added docker support

This commit is contained in:
Steve Smith
2018-05-22 14:23:55 -04:00
parent 7456c26daf
commit 9075221073
10 changed files with 83 additions and 5 deletions

27
docker-compose.yml Normal file
View File

@@ -0,0 +1,27 @@
version: '3'
services:
eshopwebrazor:
image: eshopwebrazor
build:
context: .
dockerfile: src/WebRazorPages/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "5107:5107"
eshopwebmvc:
image: eshopwebmvc
build:
context: .
dockerfile: src/Web/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "5106:5106"
networks:
default:
external:
name: nat