CI: fix port exposed ?
This commit is contained in:
@@ -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
|
||||
|
@@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
export DOMAIN="pegazio.domain.com"
|
||||
export PORT="7755"
|
||||
export PORT_EXPOSED="80"
|
||||
export REDIRECTIONS=""
|
||||
|
@@ -7,7 +7,7 @@ services:
|
||||
container_name: pegazio
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- $PORT:$PORT_EXPOSED
|
||||
- $PORT:80
|
||||
volumes:
|
||||
- $PWD:/app
|
||||
environment:
|
||||
|
Reference in New Issue
Block a user