docker-compose nginx

main
xingzi 2 years ago
parent 8715d8784f
commit c7af40e2e3

@ -3,7 +3,7 @@ version: "3.6"
services: services:
frontend: frontend:
build: build:
context: ./frontend context: ./docker/frontend
dockerfile: Dockerfile dockerfile: Dockerfile
image: eladmin-frontend:latest image: eladmin-frontend:latest
container_name: eladmin-frontend container_name: eladmin-frontend
@ -12,4 +12,4 @@ services:
- "8282:80" - "8282:80"
volumes: volumes:
# - ./frontend/conf/conf.d:/etc/nginx/conf.d/default.conf # - ./frontend/conf/conf.d:/etc/nginx/conf.d/default.conf
- ../dist:/usr/share/nginx/html - ./dist:/usr/share/nginx/html
Loading…
Cancel
Save