egg_server/docker/deploy/Dockerfile

19 lines
235 B
Docker

FROM micr.cloud.mioffice.cn/zhaoyingbo/bun:alpine-cn
WORKDIR /app
COPY package*.json ./
COPY bun.lockb ./
COPY bunfig.toml ./
RUN bun install
COPY . .
RUN bunx prisma generate
EXPOSE 3000
CMD ["bun", "start"]