Spaces:
Build error
Build error
Commit
·
4462b87
1
Parent(s):
d215840
Update Dockerfile
Browse files- Dockerfile +7 -4
Dockerfile
CHANGED
@@ -23,7 +23,8 @@ WORKDIR /opt/node_app/excalidraw
|
|
23 |
#RUN sed -i 's/VITE_APP_WS_SERVER_URL=/VITE_APP_WS_SERVER_URL=http:\/\/localhost:5002/' .env.production
|
24 |
|
25 |
# Install additional options and deps
|
26 |
-
RUN yarn add react react-dom
|
|
|
27 |
|
28 |
|
29 |
#vite vite-plugin-svgr @vitejs/plugin-react \
|
@@ -34,9 +35,11 @@ RUN yarn add react react-dom react-scripts canvas node
|
|
34 |
|
35 |
# Run yarn to install deps
|
36 |
#RUN yarn --ignore-optional --network-timeout 600000
|
37 |
-
RUN yarn
|
38 |
-
|
39 |
-
|
|
|
|
|
40 |
|
41 |
|
42 |
# Make port 5001/5002 available outside the container
|
|
|
23 |
#RUN sed -i 's/VITE_APP_WS_SERVER_URL=/VITE_APP_WS_SERVER_URL=http:\/\/localhost:5002/' .env.production
|
24 |
|
25 |
# Install additional options and deps
|
26 |
+
RUN yarn add react react-dom
|
27 |
+
#react-scripts canvas node
|
28 |
|
29 |
|
30 |
#vite vite-plugin-svgr @vitejs/plugin-react \
|
|
|
35 |
|
36 |
# Run yarn to install deps
|
37 |
#RUN yarn --ignore-optional --network-timeout 600000
|
38 |
+
RUN yarn
|
39 |
+
|
40 |
+
#--network-timeout 600000 && \
|
41 |
+
# yarn install && \
|
42 |
+
# yarn build start
|
43 |
|
44 |
|
45 |
# Make port 5001/5002 available outside the container
|