CI: fix port exposed ?

This commit is contained in:
prosety
2022-11-25 19:51:13 +01:00
parent fce4bac64d
commit 0d532dea76
3 changed files with 3 additions and 4 deletions

View File

@@ -9,5 +9,5 @@ RUN npm install
COPY . .
RUN npm run build
EXPOSE ${PORT_EXPOSED}
CMD npx vite preview --port ${PORT_EXPOSED}
EXPOSE 80
CMD npx vite preview --port 80

View File

@@ -1,5 +1,4 @@
#!/bin/bash
export DOMAIN="pegazio.domain.com"
export PORT="7755"
export PORT_EXPOSED="80"
export REDIRECTIONS=""

View File

@@ -7,7 +7,7 @@ services:
container_name: pegazio
restart: unless-stopped
ports:
- $PORT:$PORT_EXPOSED
- $PORT:80
volumes:
- $PWD:/app
environment: