Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -42,10 +42,9 @@ RUN --mount=type=secret,id=MONGODB_URL,mode=0444 \
|
|
42 |
&& APP_NAME="${APP_NAME:="$(cat /defaults/APP_NAME)"}" && export APP_NAME \
|
43 |
&& MONGODB_URL=$(cat /run/secrets/MONGODB_URL > /dev/null | grep '^' || cat /defaults/MONGODB_URL) && export MONGODB_URL && \
|
44 |
echo "${MONGODB_URL}" \
|
45 |
-
&& API_URL=$(cat /defaults/.api_url) && export API_URL && echo "${API_URL}" \
|
46 |
envsubst < ".env.local.template" > ".env.local" \
|
47 |
-
&& rm .env.local.template
|
48 |
-
&& cat .env.local
|
49 |
|
50 |
|
51 |
RUN --mount=type=cache,target=/app/.npm \
|
|
|
42 |
&& APP_NAME="${APP_NAME:="$(cat /defaults/APP_NAME)"}" && export APP_NAME \
|
43 |
&& MONGODB_URL=$(cat /run/secrets/MONGODB_URL > /dev/null | grep '^' || cat /defaults/MONGODB_URL) && export MONGODB_URL && \
|
44 |
echo "${MONGODB_URL}" \
|
45 |
+
&& API_URL=$(cat /defaults/.api_url) && export API_URL && echo "${API_URL}" && \
|
46 |
envsubst < ".env.local.template" > ".env.local" \
|
47 |
+
&& rm .env.local.template && cat .env.local
|
|
|
48 |
|
49 |
|
50 |
RUN --mount=type=cache,target=/app/.npm \
|