Adding docker-compose project (#302)

This commit is contained in:
Steve Smith
2019-09-11 23:35:13 -04:00
committed by GitHub
parent 0426377955
commit 4127d90b01
5 changed files with 51 additions and 16 deletions

View File

@@ -1,12 +1,9 @@
version: '3'
services:
eshopwebmvc:
image: eshopwebmvc
build:
context: .
dockerfile: src/Web/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "5106:80" # the aspnetcore container sets 80 as the default port
version: '3.4'
services:
eshopwebmvc:
image: ${DOCKER_REGISTRY-}eshopwebmvc
build:
context: .
dockerfile: src/Web/Dockerfile