Spaces:
deepak191z
/
Runtime error

deepak191z commited on
Commit
e0e276a
·
verified ·
1 Parent(s): 4a95a9c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -10,7 +10,7 @@ WORKDIR /home/appuser/react-video-editor
10
  RUN git clone https://github.com/designcombo/react-video-editor.git .
11
 
12
  # Change ownership of the entire project directory
13
- RUN chown -R appuser:appuser /home/appuser/react-video-editor
14
 
15
  # Switch to the non-root user
16
  USER appuser
@@ -25,8 +25,8 @@ RUN pnpm install
25
  RUN chmod -R 777 /home/appuser/react-video-editor
26
 
27
  # Expose the port
28
- EXPOSE 3000
29
- ENV PORT 3000
30
 
31
  # Start the application
32
  CMD ["pnpm", "dev"]
 
10
  RUN git clone https://github.com/designcombo/react-video-editor.git .
11
 
12
  # Change ownership of the entire project directory
13
+ RUN chown -R 777 appuser:appuser /home/appuser/react-video-editor
14
 
15
  # Switch to the non-root user
16
  USER appuser
 
25
  RUN chmod -R 777 /home/appuser/react-video-editor
26
 
27
  # Expose the port
28
+ EXPOSE 5176
29
+ ENV PORT 5176
30
 
31
  # Start the application
32
  CMD ["pnpm", "dev"]