fix: docker: bun -> node

This commit is contained in:
coderaiser 2023-09-04 16:11:00 +03:00
parent 55032ebd7d
commit eb3f037a02

View file

@ -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