web容器Dockerfile:
FROM node:latest
MAINTAINER YW
RUN mkdir -p /home/projects/web
WORKDIR /home/projects/web
COPY . /home/projects/web
RUN npm install
RUN npm run build
EXPOSE 9999
CMD [ "npm", "start"]
docker-compose文件怎么用nginx映射到web容器暴露的9999端口中,https又怎么用呢,多域名又如何配置呢?
version: '3.1'
services:
web:
build: .
container_name: web
restart: always
network_mode: host
跪求大佬指点