Spaces:
Build error
Build error
Commit
·
0d99e1a
1
Parent(s):
8320316
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -10,7 +10,6 @@ USER 1000
|
|
10 |
|
11 |
# Set production build
|
12 |
ARG NODE_ENV=production
|
13 |
-
ARG PORT=5002
|
14 |
|
15 |
# Git Clone
|
16 |
RUN git clone https://github.com/excalidraw/excalidraw
|
@@ -22,7 +21,7 @@ RUN yarn && yarn build
|
|
22 |
|
23 |
WORKDIR /opt/node_app/excalidraw
|
24 |
# Set app server to localhost
|
25 |
-
RUN sed -i 's/VITE_APP_WS_SERVER_URL=/VITE_APP_WS_SERVER_URL=http:\/\/localhost:5002/' .env.production
|
26 |
|
27 |
# Run yarn to install deps
|
28 |
RUN yarn --ignore-optional --network-timeout 600000
|
|
|
10 |
|
11 |
# Set production build
|
12 |
ARG NODE_ENV=production
|
|
|
13 |
|
14 |
# Git Clone
|
15 |
RUN git clone https://github.com/excalidraw/excalidraw
|
|
|
21 |
|
22 |
WORKDIR /opt/node_app/excalidraw
|
23 |
# Set app server to localhost
|
24 |
+
#RUN sed -i 's/VITE_APP_WS_SERVER_URL=/VITE_APP_WS_SERVER_URL=http:\/\/localhost:5002/' .env.production
|
25 |
|
26 |
# Run yarn to install deps
|
27 |
RUN yarn --ignore-optional --network-timeout 600000
|