From 1273eff7b7901e67d27125c970ef75a392b37a96 Mon Sep 17 00:00:00 2001 From: Oscar Date: Thu, 28 May 2026 14:28:36 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(Dockerfile):=20=D0=9E=D0=B1?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D1=8B=20=D0=B7=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D1=81=D0=B8=D0=BC=D0=BE=D1=81=D1=82=D0=B8=20=D0=B8=20?= =?UTF-8?q?=D0=BF=D0=B0=D0=BA=D0=B5=D1=82=D1=8B=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?=D1=83=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BA=D0=B8=20Playwr?= =?UTF-8?q?ight.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2e64d6d..3b6f912 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,9 +26,15 @@ RUN yarn prisma generate FROM node:22-slim AS runner WORKDIR /app -RUN apt-get update && apt-get install -y --no-install-recommends openssl && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y --no-install-recommends \ + openssl \ + libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 \ + libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 \ + libxrandr2 libgbm1 libasound2 \ + && rm -rf /var/lib/apt/lists/* RUN corepack enable && npm install -g opencode-ai +COPY --from=builder /root/.cache/ms-playwright /root/.cache/ms-playwright COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/src ./src COPY --from=builder /app/prisma ./prisma