This commit is contained in:
2026-03-21 17:39:28 +03:30
parent 1f08a80c72
commit 08e9d84158
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ FROM base AS runner
WORKDIR /app WORKDIR /app
ENV NODE_ENV=production ENV NODE_ENV=production
ENV PORT=3000 ENV PORT=9031
ENV HOSTNAME=0.0.0.0 ENV HOSTNAME=0.0.0.0
RUN addgroup --system --gid 1001 nodejs && \ RUN addgroup --system --gid 1001 nodejs && \
@@ -62,6 +62,6 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
USER nextjs USER nextjs
EXPOSE 3000 EXPOSE 9031
CMD ["node", "server.js"] CMD ["node", "server.js"]
+1 -1
View File
@@ -6,7 +6,7 @@ services:
container_name: croplogic-frontend container_name: croplogic-frontend
restart: unless-stopped restart: unless-stopped
ports: ports:
- "${PORT:-9031}:3000" - "80:9031"
env_file: env_file:
- .env - .env
environment: environment: