Skip to content

Commit

Permalink
ci(find): fix find command
Browse files Browse the repository at this point in the history
  • Loading branch information
anteqkois committed May 20, 2024
1 parent c007487 commit d82cf44
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ RUN cat /app/builder/apps/web/.env
RUN ls -a /app/builder/apps/web

RUN npx nx run web:build || echo "nx run web:build failed"
RUN grep -rn --include="*.js" "process.env.NEXT_PUBLIC_API_HOST" /app/builder/apps/web/.next/standalone
RUN grep -rn --include="*.js" "https://api.linkerry.com" /app/builder/apps/web/.next/standalone
# RUN grep -rn --include="*.js" "process.env.NEXT_PUBLIC_API_HOST" /app/builder/apps/web/.next/standalone
# RUN grep -rn --include="*.js" "https://api.linkerry.com" /app/builder/apps/web/.next/standalone
RUN find /app/builder/apps/web/.next/standalone -name "*.js" -exec grep -n "process.env.NEXT_PUBLIC_API_HOST" {} + || true
RUN find /app/builder/apps/web/.next/standalone -name "*.js" -exec grep -n "https://api.linkerry.com" {} + || true

FROM node:lts-alpine AS runner

Expand Down

0 comments on commit d82cf44

Please sign in to comment.