egg_server/Dockerfile
zhaoyingbo 865308ee31
All checks were successful
Egg CI/CD / build-image (push) Successful in 8m16s
Egg CI/CD / deploy (push) Successful in 7m47s
feat: Update code formatting and fix minor issues
2024-05-05 02:34:16 +00:00

22 lines
364 B
Docker

FROM micr.cloud.mioffice.cn/zhaoyingbo/bun:alpine
ENV TZ=Asia/Shanghai
RUN apk update \
&& apk add tzdata \
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone
WORKDIR /app
COPY package*.json ./
COPY bun.lockb ./
RUN bun install
COPY . .
EXPOSE 3000
CMD ["bun", "run", "start"]