Skip to content

Commit

Permalink
Fix deployment url in dashboard dockerfile (#34026)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 9a952f66c2c7a1f3a4a1a363b37bf2d41352423a
  • Loading branch information
emmaling27 authored and Convex, Inc. committed Feb 4, 2025
1 parent 021e288 commit 5a59e9e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions self-hosted/Dockerfile.dashboard
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ COPY ./npm-packages ./npm-packages
# Install dependencies and build
WORKDIR /app/npm-packages/dashboard-self-hosted
RUN rush install
# NEXT_PUBLIC_DEPLOYMENT_URL is baked into the nextjs build
# TODO: Make this configurable at runtime
ENV NEXT_PUBLIC_DEPLOYMENT_URL="http://127.0.0.1:3210"
ENV NODE_ENV=production
RUN rush build -t dashboard-self-hosted
RUN rush-pnpm deploy --filter=dashboard-self-hosted --prod /tmp/deploy
Expand All @@ -23,4 +20,4 @@ USER nextjs
EXPOSE 6791
ENV PORT=6791
ENV HOSTNAME=0.0.0.0
CMD ["node", "./server.js"]
CMD ["node", "./server.js"]

0 comments on commit 5a59e9e

Please sign in to comment.