ch
3 мануала попробовал, везде затык
Size: a a a
ch
A
A
ch
A
AG
AG
AG
AG
A
PG
nextjs:
container_name: "nextjs"
build: ./client
tty: true
ports:
- 3000:3000
volumes:
- ./client:/app
depends_on:
- app
FROM mhart/alpine-node as build
WORKDIR /usr/src
COPY package.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "start"]
GG
nextjs:
container_name: "nextjs"
build: ./client
tty: true
ports:
- 3000:3000
volumes:
- ./client:/app
depends_on:
- app
FROM mhart/alpine-node as build
WORKDIR /usr/src
COPY package.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "start"]
AN
M
MT
M
MT
M
server {
listen 443 ssl;
server_name cat_lend lend.mydomain.com;
location / {
proxy_pass http://localhost:9111;
proxy_set_header X-Forwarded-For $remote_addr ;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 86400;
}
}
NK