Skip to content

Commit

Permalink
fix: docker: bun -> node
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Sep 4, 2023
1 parent 55032eb commit eb3f037
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
FROM oven/bun
FROM node:lts-buster-slim
LABEL maintainer="Coderaiser"

RUN mkdir -p /usr/src/app
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

Expand Down

0 comments on commit eb3f037

Please sign in to comment.