Spaces:
Build error
Build error
Commit
·
39b0dcd
1
Parent(s):
41bb9b9
Update Dockerfile
Browse files- Dockerfile +3 -3
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
|
27 |
#react-scripts canvas node
|
28 |
|
29 |
|
@@ -35,8 +35,8 @@ RUN yarn add react react-dom
|
|
35 |
|
36 |
# Run yarn to install deps
|
37 |
#RUN yarn --ignore-optional --network-timeout 600000
|
38 |
-
RUN yarn
|
39 |
-
|
40 |
#--network-timeout 600000 && \
|
41 |
# yarn install && \
|
42 |
# yarn build start
|
|
|
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 npm install react react-dom
|
27 |
#react-scripts canvas node
|
28 |
|
29 |
|
|
|
35 |
|
36 |
# Run yarn to install deps
|
37 |
#RUN yarn --ignore-optional --network-timeout 600000
|
38 |
+
#RUN yarn
|
39 |
+
RUN npm install && npm run build:app && npm run build:version
|
40 |
#--network-timeout 600000 && \
|
41 |
# yarn install && \
|
42 |
# yarn build start
|