Skip to content

Commit

Permalink
prod build, remove warn
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardozgz committed Oct 6, 2024
1 parent f3addba commit c0c2652
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/website/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ RUN pnpm install
# Build the project
COPY --from=builder /app/out/full/ .
ENV SKIP_ENV_VALIDATION=true
ENV NEXT_PUBLIC_SUPPORT_URL='https://discord.com/invite/g4MfV6N'\
ENV NODE_ENV='production'\
NEXT_PUBLIC_SUPPORT_URL='https://discord.com/invite/g4MfV6N'\
NEXT_PUBLIC_BOT_DOCS_URL='https://docs.membercounter.app/'\
NEXT_PUBLIC_BOT_REPO_URL='https://github.com/member-counter/bot'\
NEXT_PUBLIC_TRANSLATION_PLATFORM_URL='https://tolgee.membercounter.app/'\
Expand All @@ -56,7 +57,7 @@ COPY --from=installer --chown=nextjs:nodejs /app/apps/website/.next/static ./app
USER nextjs

EXPOSE 3000
ENV PORT 3000
ENV HOSTNAME 0.0.0.0
ENV PORT=3000
ENV HOSTNAME=0.0.0.0

CMD ["node", "/app/apps/website/server.js"]

0 comments on commit c0c2652

Please sign in to comment.