CI: fix port exposed ?
This commit is contained in:
@@ -9,5 +9,5 @@ RUN npm install
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
EXPOSE ${PORT_EXPOSED}
|
EXPOSE 80
|
||||||
CMD npx vite preview --port ${PORT_EXPOSED}
|
CMD npx vite preview --port 80
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export DOMAIN="pegazio.domain.com"
|
export DOMAIN="pegazio.domain.com"
|
||||||
export PORT="7755"
|
export PORT="7755"
|
||||||
export PORT_EXPOSED="80"
|
|
||||||
export REDIRECTIONS=""
|
export REDIRECTIONS=""
|
||||||
|
@@ -7,7 +7,7 @@ services:
|
|||||||
container_name: pegazio
|
container_name: pegazio
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- $PORT:$PORT_EXPOSED
|
- $PORT:80
|
||||||
volumes:
|
volumes:
|
||||||
- $PWD:/app
|
- $PWD:/app
|
||||||
environment:
|
environment:
|
||||||
|
Reference in New Issue
Block a user