forgot to change docker stuff -_-

This commit is contained in:
muhammadeko 2022-04-30 13:35:16 +07:00
parent 8c8e00b687
commit 9b98cc7ead
No known key found for this signature in database
GPG Key ID: 51366716C10E98B1
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
FROM node:16-slim FROM node:16-slim
ADD . /booklist-react ADD . /gc_tools
WORKDIR /booklist-react WORKDIR /gc_tools
RUN npm install RUN npm install
RUN npm install -g serve RUN npm install -g serve
RUN npm run build RUN npm run build

View File

@ -1,7 +1,7 @@
version: '3.8' version: '3.8'
services: services:
exzork_booklist_react: gc_tools:
container_name: exzork_booklist_react container_name: gc_tools
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
@ -10,8 +10,8 @@ services:
- /booklist-react/node_modules - /booklist-react/node_modules
- /booklist-react/build - /booklist-react/build
environment: environment:
- VIRTUAL_HOST=booklist-react.exzork.me - VIRTUAL_HOST=gc-tools.exzork.me
- LETSENCRYPT_HOST=booklist-react.exzork.me - LETSENCRYPT_HOST=gc-tools.exzork.me
- LETSENCRYPT_EMAIL=muhammadeko.if@gmail.com - LETSENCRYPT_EMAIL=muhammadeko.if@gmail.com
networks: networks:
default : default :