gitlab_monitor/docker/Dockerfile
zhaoyingbo a9fbe4cdb4
Some checks failed
CI Monitor MIflow / build-image (push) Failing after 36s
ci: 更新Dockerfile
2024-08-09 08:03:52 +00:00

15 lines
267 B
Docker

FROM oven/bun:1-alpine
RUN /bin/sh -c 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 . .
CMD ["bun", "start"]