22 lines
364 B
Docker
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"] |