15 lines
267 B
Docker
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"] |