Cleaning up docker files

This commit is contained in:
Steve Smith
2019-01-22 21:44:06 -05:00
parent 2bf7f9f78b
commit 88835916d8
2 changed files with 3 additions and 13 deletions

View File

@@ -1,16 +1,6 @@
version: '3'
services:
eshopwebrazor:
image: eshopwebrazor
build:
context: .
dockerfile: src/WebRazorPages/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "5107:80"
eshopwebmvc:
image: eshopwebmvc
build:
@@ -19,7 +9,7 @@ services:
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "5106:80"
- "5106:5106"
networks:
default:

View File

@@ -1,4 +1,4 @@
# RUN BOTH CONTAINERS FROM ROOT (folder with .sln file):
# RUN ALL CONTAINERS FROM ROOT (folder with .sln file):
# docker-compose build
# docker-compose up
#
@@ -6,7 +6,7 @@
# docker build --pull -t web -f src/Web/Dockerfile .
#
# RUN COMMAND
# docker run --name eshopweb --rm -it -p 8000:5106 web
# docker run --name eshopweb --rm -it -p 5106:5106 web
FROM microsoft/dotnet:2.2-sdk AS build
WORKDIR /app