Mediocreatmybest commited on
Commit
eb647e4
·
1 Parent(s): 6a31f20

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
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,6 +45,7 @@ COPY start.sh .
45
 
46
  # switch back to root to execute start commands
47
  USER root
 
48
  # Switch to root working dir
49
  WORKDIR /opt/node_app/excalidraw
50
 
 
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
 
45
 
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