Mediocreatmybest commited on
Commit
fe85de0
1 Parent(s): dc2bfdc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -20,6 +20,9 @@ RUN git clone https://github.com/excalidraw/excalidraw
20
  #WORKDIR /opt/node_app/my-excalidraw-app
21
  WORKDIR /opt/node_app/excalidraw
22
 
 
 
 
23
  # Setup npm / yarn / deps
24
  RUN npm install react react-dom
25
  RUN npm install workbox-build workbox-window eslint typescript
@@ -28,7 +31,7 @@ RUN npm i @typescript-eslint/eslint-plugin
28
  # Run yarn to install deps
29
  RUN yarn install
30
 
31
- #COPY index.js src/App.js
32
 
33
  # Replace the content of src/App.js
34
  #RUN echo "import React from 'react';" > src/App.js \
 
20
  #WORKDIR /opt/node_app/my-excalidraw-app
21
  WORKDIR /opt/node_app/excalidraw
22
 
23
+ # Set ENV
24
+ COPY .env .
25
+
26
  # Setup npm / yarn / deps
27
  RUN npm install react react-dom
28
  RUN npm install workbox-build workbox-window eslint typescript
 
31
  # Run yarn to install deps
32
  RUN yarn install
33
 
34
+
35
 
36
  # Replace the content of src/App.js
37
  #RUN echo "import React from 'react';" > src/App.js \