diff options
| author | Fuwn <[email protected]> | 2023-08-30 14:40:16 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-08-30 14:40:16 -0700 |
| commit | dd4359bda221cd38f73649b1b31b650ebd321152 (patch) | |
| tree | 1cd39879f0b1860109eea2150e38733aac66dbc5 | |
| parent | revert(docker): runner image as node (diff) | |
| download | due.moe-dd4359bda221cd38f73649b1b31b650ebd321152.tar.xz due.moe-dd4359bda221cd38f73649b1b31b650ebd321152.zip | |
revert(docker): builder image as node
| -rw-r--r-- | Dockerfile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,14 +1,14 @@ -FROM oven/bun:latest as build +FROM node:18.16-alpine as build WORKDIR /due COPY package.json ./ -RUN bun install +RUN yarn install COPY ./ ./ -RUN bun run build +RUN yarn run build FROM node:18.16-alpine @@ -18,4 +18,4 @@ COPY --from=build /due . EXPOSE 4173 -CMD ["node", "run", "preview", "--", "--host", "0.0.0.0"]
\ No newline at end of file +CMD ["yarn", "run", "preview", "--", "--host", "0.0.0.0"]
\ No newline at end of file |