Skip to content

Commit

Permalink
ci(env): fixed env for faster issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anteqkois committed May 20, 2024
1 parent c07ad85 commit ed5ae43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ WORKDIR /app/builder
# Copy the correct environment file based on the build argument `ENVIRONMENT`
# COPY .env.${ENVIRONMENT} ./.env
# COPY /app/builder/apps/web/.env.prod-build /app/builder/apps/web/.env
RUN echo "NEXT_PUBLIC_API_HOST=${NEXT_PUBLIC_API_HOST}" >> /app/builder/apps/web/.env
# RUN echo "NEXT_PUBLIC_API_HOST=${NEXT_PUBLIC_API_HOST}" >> /app/builder/apps/web/.env
RUN echo "NEXT_PUBLIC_API_HOST=https://api.linkerry.com" >> /app/builder/apps/web/.env
RUN echo "NEXT_TELEMETRY_DISABLED=true" >> /app/builder/apps/web/.env

RUN npx nx run web:build || echo "nx run web:build failed"
Expand Down

0 comments on commit ed5ae43

Please sign in to comment.