From a6a417fa21deed6a296100c5726c7ec2f11c4773 Mon Sep 17 00:00:00 2001 From: Hyoseong Jo Date: Sun, 28 Dec 2025 15:27:36 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8F=AC=ED=8A=B8=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd41506..f6366f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ RUN apk add --no-cache tzdata \ ENV NODE_ENV=production ENV HOST=0.0.0.0 -ENV PORT=3000 +ENV PORT=4055 # 빌드 결과물 복사 COPY --from=builder /app/.output /app/.output @@ -40,10 +40,7 @@ RUN addgroup -g 1001 -S nodejs \ && chown -R nuxt:nodejs /app USER nuxt -EXPOSE 3000 - -HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ - CMD wget --no-verbose --tries=1 --spider http://localhost:3000/ || exit 1 +EXPOSE 4055 # .env 로드 후 실행 CMD ["sh", "-c", "export $(grep -v '^#' .env | xargs) && node .output/server/index.mjs"]