mirror of
https://github.com/khoaliber/LetterFeed.git
synced 2026-03-02 13:18:27 +00:00
fix: respect LETTERFEED_BACKEND_URL at build time #1
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user