Spaces:
Build error
Build error
try fix
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -27,9 +27,9 @@ COPY . .
|
|
27 |
# Uncomment the following line in case you want to disable telemetry during the build.
|
28 |
# ENV NEXT_TELEMETRY_DISABLED 1
|
29 |
|
30 |
-
RUN --mount=type=secret,id=POSTGRES_URL,mode=0444,required=true export POSTGRES_URL=$(cat /run/secrets/POSTGRES_URL)
|
31 |
|
32 |
-
RUN
|
|
|
33 |
|
34 |
# If using npm comment out above and use below instead
|
35 |
# RUN npm run build
|
|
|
27 |
# Uncomment the following line in case you want to disable telemetry during the build.
|
28 |
# ENV NEXT_TELEMETRY_DISABLED 1
|
29 |
|
|
|
30 |
|
31 |
+
RUN --mount=type=secret,id=POSTGRES_URL,mode=0444,required=true export POSTGRES_URL=$(cat /run/secrets/POSTGRES_URL) \
|
32 |
+
yarn build
|
33 |
|
34 |
# If using npm comment out above and use below instead
|
35 |
# RUN npm run build
|