Triển khai code mới (C#)
1. Docker compose [dev]
version: '3.4'
services:
nhaplieu.be.staging_new:
image: nhaplieu.be.staging_new
container_name: nhaplieu.be.staging_new_c
build:
context: ./nhaplieu.be
dockerfile: ./src/nhaplieu.be.Web/Dockerfile
restart: unless-stopped
environment:
- DOTNET_ENVIRONMENT=Staging
ports:
- 6001:8080
nhaplieu.fe.staging_new:
image: nhaplieu.fe.staging_new
container_name: nhaplieu.fe.staging_new_c
build:
context: ./client
dockerfile: Dockerfile
args:
- NODE_ENV=Staging
restart: unless-stopped
ports:
- 6000:300