Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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
|
29 |
-
ENV PORT
|
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"]
|