From b9f3ab5692ed48a48193ec6c6e3a028973b53cb7 Mon Sep 17 00:00:00 2001 From: CDN18 Date: Thu, 28 Nov 2024 16:00:46 +0800 Subject: [PATCH] revert dockerfile to yarn due to bun incompability --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4006cb5..592dcc8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM oven/bun:alpine +FROM node:alpine +USER node WORKDIR /app COPY . . -RUN apk add --no-cache python3 build-base && \ - bun install && \ - bun run build +RUN yarn install && \ + yarn build EXPOSE 3000 -CMD ["bun", "run", "start"] \ No newline at end of file +CMD ["yarn", "start"] \ No newline at end of file