Compare commits

..
Author SHA1 Message Date
marc 0c6e5d29d1 port 80
Docker build test / build-back (push) Canceled after 0s
Docker build test / build-front (push) Canceled after 0s
2022-10-12 04:50:53 +02:00
2 changed files with 1 additions and 6 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ RUN npm install -g @angular/cli@7.3.9
COPY . .
RUN npm rebuild node-sass
RUN npm run build-prod
ENTRYPOINT [ "ng", "s", "--host", "0.0.0.0" ]
ENTRYPOINT [ "ng", "s", "--host", "0.0.0.0", "--port", "80" ]
FROM nginx
COPY nginx.conf /etc/nginx/conf.d/default.conf
-5
View File
@@ -15,10 +15,5 @@ server {
location / {
try_files $uri $uri/ /index.html =404;
proxy_pass http://api.numeris-isep.fr;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}
}