Files
insta-recipe/Dockerfile
Giancarmine Salucci 23583f54c6 full tour
2025-11-30 09:06:44 +01:00

20 lines
331 B
Docker

FROM node:22-alpine
WORKDIR /app
# Install Playwright system dependencies
RUN apk add --no-cache \
chromium \
font-liberation \
liberation-fonts \
noto \
noto-cjk
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
EXPOSE 3000
ENV NODE_ENV=production
CMD ["node", "-e", "import('./build/index.js')"]