diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -1,21 +1,23 @@ -FROM oven/bun:1.0.1 as build +FROM node:19-bullseye as build WORKDIR /due +RUN apt update -y && apt upgrade -y + COPY package.json ./ -RUN bun install +RUN yarn install COPY ./ ./ -RUN bun --bun vite build +RUN yarn run build -FROM oven/bun:1.0.1 +FROM node:19-bullseye WORKDIR /due -COPY --from=build /due/build . +COPY --from=build /due . EXPOSE 3000 -CMD ["bun", "./index.js"]
\ No newline at end of file +CMD ["node", "build"]
\ No newline at end of file |