File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ WORKDIR /usr/src/app
77
88COPY package.json /usr/src/app/
99
10- RUN npm config set package-lock false && \
11- npm install --production -f && \
12- npm i gritty && \
13- npm cache clean --force
10+ RUN curl -fsSL https://bun.com/install | bash && \
11+ bun i --production --no-save && \
12+ bun i gritty && \
13+ bun pm cache rm
1414
1515COPY . /usr/src/app
1616
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ WORKDIR /usr/src/app
77
88COPY package.json /usr/src/app/
99
10- RUN npm config set package-lock false && \
11- npm install --production -f && \
10+ RUN curl -fsSL https://bun.com/install | bash && \
11+ bun i --no-save --production && \
1212 apk update && \
1313 apk add --no-cache bash make g++ python3 && \
14- npm i gritty && \
15- npm cache clean --force && \
14+ bun i gritty --no-save && \
15+ bun pm cache rm
1616 apk del make g++ python3 && \
1717 rm -rf /usr/include /tmp/* /var/cache/apk/*
1818
You can’t perform that action at this time.
0 commit comments