From dec5d46bae6220cd54edf08901f31cb1f6775a68 Mon Sep 17 00:00:00 2001 From: KagChi Date: Fri, 10 May 2024 23:32:37 +0700 Subject: [PATCH] fix: properly install deps --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f014a7d..dbd41fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /tmp/build RUN corepack enable && corepack prepare pnpm@latest -RUN apk add --no-cache build-base git python3 +RUN apt update && apt install -y build-essential git python3 COPY package*.json . COPY pnpm-lock.yaml . @@ -21,7 +21,7 @@ FROM ghcr.io/hazmi35/node:20 WORKDIR /app -RUN apk add --no-cache tzdata +RUN apt update && apt install -y tzdata COPY --from=build-stage /tmp/build/package.json . COPY --from=build-stage /tmp/build/pnpm-lock.yaml .