This commit is contained in:
紫云徽 2024-08-05 14:44:57 +08:00
parent de10607e9b
commit d67c94bcdc

View File

@ -1,4 +1,4 @@
FROM oven/bun:latest
FROM oven/bun:1
WORKDIR /usr/src/app
COPY . .
COPY ./config.json /config
@ -6,4 +6,4 @@ RUN bun install --frozen-lockfile --production
ENV NODE_ENV=production
EXPOSE 7000/tcp
VOLUME [ "/config"]
ENTRYPOINT [ "bun", "run", "index.ts" ]
ENTRYPOINT [ "bun", "run", "index.ts" ]