Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -12,7 +12,7 @@ RUN npm ci --prefix frontend/
|
|
12 |
COPY frontend/ /app/frontend/
|
13 |
|
14 |
RUN --mount=type=secret,id=PUBLIC_BACKEND_WS_URL,mode=0444,required=true \
|
15 |
-
echo "
|
16 |
|
17 |
RUN npm run build --prefix frontend/
|
18 |
|
|
|
12 |
COPY frontend/ /app/frontend/
|
13 |
|
14 |
RUN --mount=type=secret,id=PUBLIC_BACKEND_WS_URL,mode=0444,required=true \
|
15 |
+
echo "PUBLIC_BACKEND_WS_URL=$(cat /run/secrets/PUBLIC_BACKEND_WS_URL)" > frontend/.env
|
16 |
|
17 |
RUN npm run build --prefix frontend/
|
18 |
|