egg_server/devTools/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

10 lines
309 B
Docker

FROM node:18.17.1-alpine3.18
# 更换国内源
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
# 设置时区
RUN apk update \
&& apk add tzdata \
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone