Skip to content

Commit

Permalink
chore: try not to run apt install
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <[email protected]>
  • Loading branch information
ZTL-UwU committed Sep 28, 2024
1 parent 38dfb97 commit d1faa19
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,19 @@ ENV NITRO_PRESET="bun"
FROM base as build

# Install packages needed to build node modules
RUN apt-get update -qq && \
apt-get install -y build-essential pkg-config python-is-python3
# RUN apt-get update -qq && \
# apt-get install -y build-essential pkg-config python-is-python3

COPY . ./

# Install node modules
COPY --link .npmrc package.json bun.lockb ./
RUN ls
RUN bun -v

RUN bun i --frozen-lockfile

# Build application
RUN bun run build


# Final stage for app image
FROM base

Expand Down

0 comments on commit d1faa19

Please sign in to comment.