Skip to content

Instantly share code, notes, and snippets.

View WhiteX's full-sized avatar
🎯
Focusing

Arpad Szucs WhiteX

🎯
Focusing
View GitHub Profile
@grrowl
grrowl / Dockerfile
Created March 7, 2025 06:10
payload cms docker
# To use this Dockerfile, you have to set `output: 'standalone'` in your next.config.js file.
# From https://github.com/vercel/next.js/blob/canary/examples/with-docker/Dockerfile
# FROM node:22.12.0-alpine AS base
FROM node:23-alpine AS base
# Install dependencies only when needed
FROM base AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat