Add docker-compose.yaml

This commit is contained in:
Takeshi Kimata
2024-06-16 19:35:04 +09:00
parent a8cd231a82
commit d4db61860f
6 changed files with 36 additions and 20 deletions

View File

@@ -38,7 +38,6 @@ RUN \
FROM base AS runner
WORKDIR /app
ENV NODE_ENV production
# Uncomment the following line in case you want to disable telemetry during runtime.
# ENV NEXT_TELEMETRY_DISABLED 1
@@ -60,8 +59,6 @@ USER nextjs
EXPOSE 8000
ENV PORT 8000
# server.js is created by next build from the standalone output
# https://nextjs.org/docs/pages/api-reference/next-config-js/output
CMD HOSTNAME="0.0.0.0" node server.js