fix: respect LETTERFEED_BACKEND_URL at build time #1

This commit is contained in:
Leon
2025-07-24 18:03:58 +02:00
parent 6ff4e817ef
commit 68254e45f4
6 changed files with 22 additions and 35 deletions

View File

@@ -13,10 +13,6 @@ RUN npm install
# Copy the rest of the application
COPY . .
# Set the API URL for the build
ARG NEXT_PUBLIC_API_URL=/api
ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
# Build the Next.js application
RUN npm run build