Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
build: add pnpm installation
Browse files Browse the repository at this point in the history
  • Loading branch information
ijsKoud committed Mar 31, 2024
1 parent b6494f6 commit 76e3aa7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/discord-bot.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ WORKDIR /ijsblokje
RUN apk add --no-cache libc6-compat
RUN apk update

# Install pnpm
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -

# Copy obly the needed files
RUN pnpm add turbo --global
COPY . .
Expand All @@ -21,6 +24,9 @@ WORKDIR /ijsblokje
RUN apk add --no-cache libc6-compat
RUN apk update

# Install pnpm
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -

# Install dependencies
COPY .gitignore .gitignore
COPY --from=builder /ijsblokje/out/json/ .
Expand Down
6 changes: 6 additions & 0 deletions docker/github-bot.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ WORKDIR /ijsblokje
RUN apk add --no-cache libc6-compat
RUN apk update

# Install pnpm
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -

# Copy obly the needed files
RUN pnpm add turbo --global
COPY . .
Expand All @@ -21,6 +24,9 @@ WORKDIR /ijsblokje
RUN apk add --no-cache libc6-compat
RUN apk update

# Install pnpm
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -

# Install dependencies
COPY .gitignore .gitignore
COPY --from=builder /ijsblokje/out/json/ .
Expand Down

0 comments on commit 76e3aa7

Please sign in to comment.