Spaces:
deepak191z
/
Runtime error

deepak191z commited on
Commit
d67390e
·
verified ·
1 Parent(s): 7fc72b1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -28,5 +28,9 @@ RUN pnpm install
28
  # Build the application
29
  RUN pnpm run build
30
 
 
 
 
 
31
  # Start the application
32
  CMD ["pnpm", "run", "preview", "--", "--host", "0.0.0.0", "--port", "7860"]
 
28
  # Build the application
29
  RUN pnpm run build
30
 
31
+ # Ensure the user has write permissions in the necessary directories
32
+ RUN mkdir -p /home/appuser/react-video-editor/.vite && \
33
+ chmod 755 /home/appuser/react-video-editor/.vite
34
+
35
  # Start the application
36
  CMD ["pnpm", "run", "preview", "--", "--host", "0.0.0.0", "--port", "7860"]