Skip to content

Commit 90a688f

Browse files
committed
fix: Use port 8080 for nginx
1 parent 1ec0841 commit 90a688f

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

packages/compas-open-scd/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
FROM public.ecr.aws/nginx/nginx:1.29.1
2+
3+
COPY nginx.conf /etc/nginx/nginx.conf
24
COPY build/. /usr/share/nginx/html
35

6+
EXPOSE 8080
7+
48
VOLUME /etc/nginx/
59
VOLUME /usr/share/nginx/html/public/cim
610
VOLUME /usr/share/nginx/html/public/conf
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
events {
2+
worker_connections 1024;
3+
}
4+
5+
http {
6+
server {
7+
listen 8080;
8+
listen [::]:8080;
9+
server_name localhost;
10+
11+
location / {
12+
root /usr/share/nginx/html;
13+
index index.html index.htm;
14+
}
15+
16+
error_page 500 502 503 504 /50x.html;
17+
location = /50x.html {
18+
root /usr/share/nginx/html;
19+
}
20+
}
21+
}

0 commit comments

Comments
 (0)