Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c6e5d29d1 |
+1
-1
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user