Xenova HF staff commited on
Commit
e8cbbb3
·
1 Parent(s): aefa780

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -15
Dockerfile CHANGED
@@ -1,15 +1,3 @@
1
- server {
2
- listen 8080;
3
- listen [::]:8080;
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