Spaces:
Running
Running
Commit ·
b27ecce
1
Parent(s): 93540c2
RXP
Browse files- Dockerfile +1 -1
- renderer.js +1 -1
Dockerfile
CHANGED
|
@@ -17,7 +17,7 @@ RUN chmod -R 777 /public /out /uploads /frames || true
|
|
| 17 |
RUN chmod 777 /index.html || true
|
| 18 |
RUN mkdir -p /tmp/client_body /tmp/proxy_temp /tmp/fastcgi_temp /tmp/uwsgi_temp /tmp/scgi_temp && chmod -R 777 /tmp
|
| 19 |
RUN chmod -R 777 /var
|
| 20 |
-
|
| 21 |
# Build app
|
| 22 |
RUN npm run bundle
|
| 23 |
RUN npm run skip-font-warn
|
|
|
|
| 17 |
RUN chmod 777 /index.html || true
|
| 18 |
RUN mkdir -p /tmp/client_body /tmp/proxy_temp /tmp/fastcgi_temp /tmp/uwsgi_temp /tmp/scgi_temp && chmod -R 777 /tmp
|
| 19 |
RUN chmod -R 777 /var
|
| 20 |
+
RUN chmod -R 777 /node_modules/.cache
|
| 21 |
# Build app
|
| 22 |
RUN npm run bundle
|
| 23 |
RUN npm run skip-font-warn
|
renderer.js
CHANGED
|
@@ -5,7 +5,7 @@ import {exec} from 'child_process';
|
|
| 5 |
import {dirname} from 'path';
|
| 6 |
import {fileURLToPath} from 'url';
|
| 7 |
import { platform } from 'os';
|
| 8 |
-
import { renderSSR } from './
|
| 9 |
import path from 'path';
|
| 10 |
import { renderProxy } from './proxy-renderer.js';
|
| 11 |
const {UnzipFiles, Utils, ZipFiles} = pkg;
|
|
|
|
| 5 |
import {dirname} from 'path';
|
| 6 |
import {fileURLToPath} from 'url';
|
| 7 |
import { platform } from 'os';
|
| 8 |
+
import { renderSSR } from './ssr.js';
|
| 9 |
import path from 'path';
|
| 10 |
import { renderProxy } from './proxy-renderer.js';
|
| 11 |
const {UnzipFiles, Utils, ZipFiles} = pkg;
|