We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ec0841 commit 90a688fCopy full SHA for 90a688f
packages/compas-open-scd/Dockerfile
@@ -1,6 +1,10 @@
1
FROM public.ecr.aws/nginx/nginx:1.29.1
2
+
3
+COPY nginx.conf /etc/nginx/nginx.conf
4
COPY build/. /usr/share/nginx/html
5
6
+EXPOSE 8080
7
8
VOLUME /etc/nginx/
9
VOLUME /usr/share/nginx/html/public/cim
10
VOLUME /usr/share/nginx/html/public/conf
packages/compas-open-scd/nginx.conf
@@ -0,0 +1,21 @@
+events {
+ worker_connections 1024;
+}
+http {
+ server {
+ listen 8080;
+ listen [::]:8080;
+ server_name localhost;
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
19
20
21
0 commit comments