Mediocreatmybest commited on
Commit
4bd6e4f
1 Parent(s): dd3600c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -6
Dockerfile CHANGED
@@ -13,12 +13,12 @@ RUN apt update
13
  #RUN npm install react react-dom @excalidraw/excalidraw vscode-languageclient -g
14
 
15
  # Create a React
16
- #RUN npx create-react-app my-excalidraw-app
17
- RUN git clone https://github.com/excalidraw/excalidraw
18
 
19
  # Change to the newly created directory
20
- #WORKDIR /opt/node_app/my-excalidraw-app
21
- WORKDIR /opt/node_app/excalidraw
22
 
23
  # Set ENV on dev / prod
24
  RUN echo -e "\n\nBROWSER=NONE" >> .env.development
@@ -27,8 +27,9 @@ RUN echo -e "\n\nBROWSER=NONE" >> .env.development
27
 
28
 
29
  # Setup npm / yarn / deps
30
- RUN npm install react react-dom
31
- RUN npm install workbox-build workbox-window eslint
 
32
 
33
  # Run yarn to install deps
34
  RUN yarn
 
13
  #RUN npm install react react-dom @excalidraw/excalidraw vscode-languageclient -g
14
 
15
  # Create a React
16
+ RUN npx create-react-app my-excalidraw-app
17
+ #RUN git clone https://github.com/excalidraw/excalidraw
18
 
19
  # Change to the newly created directory
20
+ WORKDIR /opt/node_app/my-excalidraw-app
21
+ #WORKDIR /opt/node_app/excalidraw
22
 
23
  # Set ENV on dev / prod
24
  RUN echo -e "\n\nBROWSER=NONE" >> .env.development
 
27
 
28
 
29
  # Setup npm / yarn / deps
30
+ #RUN npm install react react-dom
31
+ #RUN npm install workbox-build workbox-window eslint
32
+ RUN yarn add react react-dom @excalidraw/excalidraw workbox-build workbox-window eslint
33
 
34
  # Run yarn to install deps
35
  RUN yarn