Skip to content

Commit

Permalink
set env to solve unhealthy
Browse files Browse the repository at this point in the history
  • Loading branch information
luojiyin1987 committed Aug 3, 2024
1 parent 9932dc3 commit e90e904
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ COPY --from=build /app/.next/standalone ./
COPY --from=build /app/public ./public
COPY --from=build /app/.next/static ./.next/static
EXPOSE 3000
CMD ["server.js"]
ENV PORT 3000
ENV HOSTNAME="0.0.0.0"
CMD ["node", "server.js"]

1 comment on commit e90e904

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for oss-toolbox ready!

✅ Preview
https://oss-toolbox-71snmow31-techquerys-projects.vercel.app

Built with commit e90e904.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.