Spaces:
Build error
Build error
Mediocreatmybest
commited on
Commit
•
60d0969
1
Parent(s):
5c2668c
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -8,15 +8,15 @@ WORKDIR /opt/node_app
|
|
8 |
RUN apt update
|
9 |
RUN apt install git yarn -y
|
10 |
|
11 |
-
# Install and add options / app
|
12 |
-
RUN yarn add react react-dom @excalidraw/excalidraw
|
13 |
-
|
14 |
# Create a React
|
15 |
RUN npx create-react-app my-excalidraw-app
|
16 |
|
17 |
# Change to the newly created directory
|
18 |
WORKDIR /opt/node_app/my-excalidraw-app
|
19 |
|
|
|
|
|
|
|
20 |
|
21 |
# Replace the content of src/App.js
|
22 |
RUN echo "import React from 'react';" > src/App.js \
|
|
|
8 |
RUN apt update
|
9 |
RUN apt install git yarn -y
|
10 |
|
|
|
|
|
|
|
11 |
# Create a React
|
12 |
RUN npx create-react-app my-excalidraw-app
|
13 |
|
14 |
# Change to the newly created directory
|
15 |
WORKDIR /opt/node_app/my-excalidraw-app
|
16 |
|
17 |
+
# Install and add options / app
|
18 |
+
RUN yarn add react react-dom @excalidraw/excalidraw
|
19 |
+
|
20 |
|
21 |
# Replace the content of src/App.js
|
22 |
RUN echo "import React from 'react';" > src/App.js \
|