Add explicit request for standalone dir in web Dockerfile

This commit is contained in:
Weves 2024-05-17 10:38:19 -07:00
parent f76e5e06c1
commit b9bae9a011

View File

@ -32,6 +32,9 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
# needed to get the `standalone` dir we expect later
ENV NEXT_PRIVATE_STANDALONE true
# Disable automatic telemetry collection
ENV NEXT_TELEMETRY_DISABLED 1