fix: update dockerfile

This commit is contained in:
2025-05-28 15:18:09 +03:00
parent e7427af874
commit a7982936e3

View File

@@ -20,8 +20,8 @@ RUN npm run build
FROM node:22-alpine AS runner
WORKDIR /app
ENV NODE_ENV production \
NEXT_TELEMETRY_DISABLED 1
ENV NODE_ENV=production \
NEXT_TELEMETRY_DISABLED=1
# Включаем node пользователя
RUN addgroup -g 1001 -S nodejs
@@ -42,7 +42,7 @@ USER nextjs
EXPOSE 3000
# Запускаем приложение
ENV PORT 3000
ENV HOSTNAME "0.0.0.0"
ENV PORT=3000
ENV HOSTNAME="0.0.0.0"
CMD ["node", "server.js"]