API 적용 최초 배포
Deploy feedback demo / deploy (push) Failing after 4m26s

This commit is contained in:
root
2026-09-01 17:12:46 +09:00
parent badf5f2c81
commit aaddfc7bfc
44 changed files with 1331 additions and 867 deletions
+5 -1
View File
@@ -1,6 +1,8 @@
# This Dockerfile is copy-pasted into our main docs at /docs/handbook/deploying-with-docker.
# Make sure you update both files!
ARG NPM_REGISTRY=https://registry.npmjs.org
ARG APP_NEXT_PUBLIC_API_BASE_URL=https://feedback.hmac.kr
ARG APP_NEXT_PUBLIC_FEEDBACK_ONLY=true
FROM node:24.14.1-alpine AS base
ARG NPM_REGISTRY
ENV COREPACK_NPM_REGISTRY=${NPM_REGISTRY} \
@@ -18,6 +20,8 @@ RUN turbo prune --scope=web --docker
# Add lockfile and package.json's of isolated subworkspace
FROM base AS installer
ARG APP_NEXT_PUBLIC_API_BASE_URL
ARG APP_NEXT_PUBLIC_FEEDBACK_ONLY
RUN apk add --no-cache libc6-compat
RUN apk --no-cache add --virtual .builds-deps build-base python3
@@ -37,7 +41,7 @@ COPY --from=builder /app/out/full/ .
COPY turbo.json ./
COPY --from=builder /app/apps/web/.env.build /app/apps/web/.env.production
RUN printf 'NEXT_PUBLIC_API_BASE_URL=%s\nNEXT_PUBLIC_FEEDBACK_ONLY=%s\n' "$APP_NEXT_PUBLIC_API_BASE_URL" "$APP_NEXT_PUBLIC_FEEDBACK_ONLY" > /app/apps/web/.env.production
RUN SKIP_ENV_VALIDATION=true pnpm exec turbo run build --filter=web...
FROM base AS runner