shiveshnavin commited on
Commit
e37e70d
·
1 Parent(s): 6d45724
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. nginx.conf +6 -0
Dockerfile CHANGED
@@ -16,6 +16,7 @@ COPY package.ci.json package.json
16
  RUN mkdir -p /public /out /frames /uploads || true
17
  RUN chmod -R 777 /public /out /uploads /frames || true
18
  RUN chmod 777 /index.html || true
 
19
 
20
  # build steps you had
21
  RUN npm run bundle
 
16
  RUN mkdir -p /public /out /frames /uploads || true
17
  RUN chmod -R 777 /public /out /uploads /frames || true
18
  RUN chmod 777 /index.html || true
19
+ RUN mkdir -p /tmp/client_body /tmp/proxy_temp /tmp/fastcgi_temp && chmod -R 777 /tmp
20
 
21
  # build steps you had
22
  RUN npm run bundle
nginx.conf CHANGED
@@ -5,6 +5,12 @@ pid /var/run/nginx.pid;
5
  events { worker_connections 1024; }
6
 
7
  http {
 
 
 
 
 
 
8
  include /etc/nginx/mime.types;
9
  default_type application/octet-stream;
10
  sendfile on;
 
5
  events { worker_connections 1024; }
6
 
7
  http {
8
+
9
+ client_body_temp_path /tmp/client_body;
10
+ proxy_temp_path /tmp/proxy_temp;
11
+ fastcgi_temp_path /tmp/fastcgi_temp;
12
+
13
+
14
  include /etc/nginx/mime.types;
15
  default_type application/octet-stream;
16
  sendfile on;