Update Dockerfile
Browse files- Dockerfile +3 -15
Dockerfile
CHANGED
@@ -1,15 +1,3 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
server_name localhost;
|
5 |
-
|
6 |
-
location / {
|
7 |
-
root /usr/share/nginx/html;
|
8 |
-
index index.html index.htm;
|
9 |
-
|
10 |
-
add_header 'Cross-Origin-Embedder-Policy' 'require-corp';
|
11 |
-
add_header 'Cross-Origin-Opener-Policy' 'same-origin';
|
12 |
-
add_header 'Cross-Origin-Resource-Policy' 'cross-origin';
|
13 |
-
|
14 |
-
}
|
15 |
-
}
|
|
|
1 |
+
FROM nginxinc/nginx-unprivileged
|
2 |
+
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
3 |
+
COPY . /usr/share/nginx/html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|