From 9b98cc7ead6a290d46031ec135704568faff7066 Mon Sep 17 00:00:00 2001 From: muhammadeko Date: Sat, 30 Apr 2022 13:35:16 +0700 Subject: [PATCH] forgot to change docker stuff -_- --- Dockerfile | 4 ++-- docker-compose.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) 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 :