diff --git a/Dockerfile b/Dockerfile index 6d436eb..26c24de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,6 +38,11 @@ COPY . . # Disable telemetry during build (optional) ENV NEXT_TELEMETRY_DISABLED=1 +# Required by prisma generate during image build +ARG API_URL="https://tvone-api.petermaquiran.xyz" +ENV API_URL=$API_URL + + # Build Next.js app RUN \ if [ -f yarn.lock ]; then yarn build; \