summaryrefslogtreecommitdiff
path: root/storefront
diff options
context:
space:
mode:
Diffstat (limited to 'storefront')
-rw-r--r--storefront/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/storefront/Dockerfile b/storefront/Dockerfile
index b3f5cb8..5f1bd86 100644
--- a/storefront/Dockerfile
+++ b/storefront/Dockerfile
@@ -11,6 +11,8 @@ COPY --from=deps /app/node_modules ./node_modules
COPY . .
# Disable telemetry during build
ENV NEXT_TELEMETRY_DISABLED 1
+ARG NEXT_PUBLIC_MEDUSA_BACKEND_URL
+ENV NEXT_PUBLIC_MEDUSA_BACKEND_URL=$NEXT_PUBLIC_MEDUSA_BACKEND_URL
RUN npm run build
# Production image, copy all the files and run next