diff --git a/Dockerfile b/Dockerfile index 1b8abb3..0cacf27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:16-slim -ADD . /booklist-react -WORKDIR /booklist-react +ADD . /gc_tools +WORKDIR /gc_tools RUN npm install RUN npm install -g serve RUN npm run build diff --git a/docker-compose.yml b/docker-compose.yml index c819ab7..ac975a6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3.8' services: - exzork_booklist_react: - container_name: exzork_booklist_react + gc_tools: + container_name: gc_tools build: context: . dockerfile: Dockerfile @@ -10,8 +10,8 @@ services: - /booklist-react/node_modules - /booklist-react/build environment: - - VIRTUAL_HOST=booklist-react.exzork.me - - LETSENCRYPT_HOST=booklist-react.exzork.me + - VIRTUAL_HOST=gc-tools.exzork.me + - LETSENCRYPT_HOST=gc-tools.exzork.me - LETSENCRYPT_EMAIL=muhammadeko.if@gmail.com networks: default :