Spaces:
Build error
Build error
Commit
·
fec0528
1
Parent(s):
eb647e4
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -23,7 +23,7 @@ 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 react-scripts canvas node vite
|
27 |
|
28 |
#RUN npm install workbox-build workbox-window eslint
|
29 |
#RUN yarn add react react-dom @excalidraw/excalidraw workbox-build workbox-window eslint
|
@@ -46,6 +46,7 @@ COPY start.sh .
|
|
46 |
# switch back to root to execute start commands
|
47 |
USER root
|
48 |
RUN npm install vite -g
|
|
|
49 |
# Switch to root working dir
|
50 |
WORKDIR /opt/node_app/excalidraw
|
51 |
|
|
|
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 react-scripts canvas node vite @vitejs/plugin-react
|
27 |
|
28 |
#RUN npm install workbox-build workbox-window eslint
|
29 |
#RUN yarn add react react-dom @excalidraw/excalidraw workbox-build workbox-window eslint
|
|
|
46 |
# switch back to root to execute start commands
|
47 |
USER root
|
48 |
RUN npm install vite -g
|
49 |
+
RUN npm install @vitejs/plugin-react -g
|
50 |
# Switch to root working dir
|
51 |
WORKDIR /opt/node_app/excalidraw
|
52 |
|