From 9b57c9513051a92160fa325fb0ee52471bb1f1f1 Mon Sep 17 00:00:00 2001 From: valere Date: Wed, 25 Dec 2024 12:33:01 +0100 Subject: [PATCH] ci: v4 --- Dockerfile | 2 +- config.sh | 2 +- docker-compose.yml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a13a0b7..cb98ae1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,5 +9,5 @@ RUN npm run build # production stage FROM nginx:stable-alpine as production-stage COPY --from=build-stage /app/dist /usr/share/nginx/html -EXPOSE 3000 +EXPOSE 80 CMD ["nginx", "-g", "daemon off;"] diff --git a/config.sh b/config.sh index 9996111..727115a 100755 --- a/config.sh +++ b/config.sh @@ -1,4 +1,4 @@ export DOMAIN="virages.io" export PORT="7835" -export PORT_EXPOSED="3000" +export PORT_EXPOSED="80" export REDIRECTIONS="" # example.$MAIN_DOMAIN->/route $MAIN_DOMAIN->url /route->/another-route /route->url diff --git a/docker-compose.yml b/docker-compose.yml index 8f2cee1..8a32f10 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,7 @@ services: build: context: . dockerfile: Dockerfile + image: virages:latest container_name: virages restart: unless-stopped ports: