diff --git a/Dockerfile b/Dockerfile index d3a8b1f..20e88fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/config.sh b/config.sh index cfc8115..6483ca2 100755 --- a/config.sh +++ b/config.sh @@ -1,5 +1,4 @@ #!/bin/bash export DOMAIN="pegazio.domain.com" export PORT="7755" -export PORT_EXPOSED="80" export REDIRECTIONS="" diff --git a/docker-compose.yml b/docker-compose.yml index 67a3a1e..6f6c76e 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: container_name: pegazio restart: unless-stopped ports: - - $PORT:$PORT_EXPOSED + - $PORT:80 volumes: - $PWD:/app environment: