Spaces:
deepak191z
/
Runtime error

deepak191z commited on
Commit
21c7e23
·
verified ·
1 Parent(s): 9cb70cd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,6 +1,7 @@
1
  FROM node:20
2
  RUN npm install -g pnpm
3
-
 
4
  # Create a non-root user
5
  RUN useradd -m appuser
6
 
@@ -25,8 +26,7 @@ RUN pnpm install
25
  RUN chmod -R 777 /home/appuser/react-video-editor
26
 
27
  # Expose the port
28
- EXPOSE 5173
29
- ENV PORT 5173
30
 
31
  # Start the application
32
  CMD ["pnpm", "dev"]
 
1
  FROM node:20
2
  RUN npm install -g pnpm
3
+ EXPOSE 5173
4
+ ENV PORT 5173
5
  # Create a non-root user
6
  RUN useradd -m appuser
7
 
 
26
  RUN chmod -R 777 /home/appuser/react-video-editor
27
 
28
  # Expose the port
29
+
 
30
 
31
  # Start the application
32
  CMD ["pnpm", "dev"]