Initial commit: coming soon one-pager
CI / Lint & Build (push) Failing after 21s
CI / Code Health (push) Successful in 22s
Deploy / Build & Push Image (push) Failing after 17s
Deploy / Trigger Deploy (push) Skipped

This commit is contained in:
fristy committed 2026-10-16 00:16:36 +03:00
commit 5b5e0343bf
19 files changed
+4511

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
FROM node:lts-alpine AS builder
RUN npm install -g pnpm
WORKDIR /app
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
FROM node:lts-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
ENV PORT=3000
ENV HOSTNAME="0.0.0.0"
RUN addgroup --system --gid 1001 nodejs && adduser --system --uid 1001 nextjs
COPY --from=builder /app/public ./public
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
USER nextjs
EXPOSE 3000
CMD ["node", "server.js"]