diff --git a/Dockerfile b/Dockerfile index 8783b8c..b0c3e7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,6 @@ COPY . . RUN npm run build -EXPOSE 8080 +EXPOSE 80 CMD ["sh", "-c", "nginx -g 'daemon off;' & npm run start:all"] diff --git a/nginx.conf b/nginx.conf index 0ccf92e..9c3841f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -11,7 +11,7 @@ http { keepalive_timeout 65; server { - listen 8080; + listen 80; location /auth { proxy_pass http://localhost:4001;