File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
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/bin/bun i --production --no-save && \
12+ PATH=$PATH:~/.bun/bin bun i gritty --no-save && \
13+ ~/.bun/bin/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 && \
12- apk update && \
13- apk add --no-cache bash make g++ python3 && \
14- npm i gritty && \
15- npm cache clean --force && \
10+ RUN apk update && \
11+ apk add --no-cache curl bash make g++ python3 && \
12+ curl -fsSL https://bun.com/install | bash && \
13+ ~/.bun/bin/bun i --production -- no-save && \
14+ PATH=$PATH:~/.bun/bin bun i gritty --no-save && \
15+ ~/.bun/bin/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