Mediocreatmybest commited on
Commit
0879bd9
·
1 Parent(s): 40b5edd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
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 vite-plugin-svgr @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
@@ -45,7 +45,7 @@ COPY start.sh .
45
 
46
  # switch back to root to execute start commands
47
  USER root
48
- RUN npm install vite vite-plugin-svgr @vitejs/plugin-react -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 vite-plugin-svgr @vitejs/plugin-react vite-plugin-ejs
27
 
28
  #RUN npm install workbox-build workbox-window eslint
29
  #RUN yarn add react react-dom @excalidraw/excalidraw workbox-build workbox-window eslint
 
45
 
46
  # switch back to root to execute start commands
47
  USER root
48
+
49
  # Switch to root working dir
50
  WORKDIR /opt/node_app/excalidraw
51