Skip to content

Commit

Permalink
Update Dockerfile.api to fix an error
Browse files Browse the repository at this point in the history
  • Loading branch information
wruiwr authored Aug 6, 2024
1 parent 9217b96 commit 507a3aa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile.api
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ ARG BUN_VERSION=1.1.8
FROM node:20-buster AS base

# Install bash for base and clean cache for smaller image
RUN apt-get update && apt-get install -y && apt-get clean bash
RUN apt-get update && \
apt-get install -y bash && \
apt-get clean

# Install turbo for base
RUN npm install -g turbo@latest

# Install Bun for base
RUN curl -fsSL https://bun.sh/install | bash
RUN mv /root/.bun/bin/bun /usr/local/bin/
RUN curl -fsSL https://bun.sh/install | bash && \
mv /root/.bun/bin/bun /usr/local/bin/
# Ensure Bun environment
ENV PATH="/usr/local/bin:$PATH"
# Check Bun installation
Expand Down

0 comments on commit 507a3aa

Please sign in to comment.