mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
fix: docker: bun -> node
This commit is contained in:
parent
55032ebd7d
commit
eb3f037a02
1 changed files with 5 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM oven/bun
|
||||
FROM node:lts-buster-slim
|
||||
LABEL maintainer="Coderaiser"
|
||||
|
||||
RUN mkdir -p /usr/src/app
|
||||
|
|
@ -6,9 +6,10 @@ WORKDIR /usr/src/app
|
|||
|
||||
COPY package.json /usr/src/app/
|
||||
|
||||
RUN bun install --production --no-save && \
|
||||
bun i gritty --no-save && \
|
||||
bun pm cache rm
|
||||
RUN npm config set package-lock false && \
|
||||
npm install --production && \
|
||||
npm i gritty && \
|
||||
npm cache clean --force && \
|
||||
|
||||
COPY . /usr/src/app
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue