Skip to content

Commit

Permalink
fix: properly install deps
Browse files Browse the repository at this point in the history
  • Loading branch information
KagChi committed May 10, 2024
1 parent 83e1b7d commit dec5d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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 .
Expand Down

0 comments on commit dec5d46

Please sign in to comment.