add iteminfo command, change name of project to qweribot, fix ghcr publish url, add proper README.md

This commit is contained in:
2025-04-05 17:54:22 +02:00
parent 416ae34317
commit 564ead12c6
15 changed files with 164 additions and 99 deletions

22
Dockerfile.qweribot Normal file
View File

@@ -0,0 +1,22 @@
FROM oven/bun AS base
WORKDIR /app
FROM base AS install
RUN mkdir -p /temp/dev
COPY package.json bun.lock /temp/dev/
RUN cd /temp/dev && bun install --frozen-lockfile
RUN mkdir -p /temp/prod
COPY package.json bun.lock /temp/prod/
RUN cd /temp/prod && bun install --frozen-lockfile --production
FROM base AS prerelease
COPY --from=install /temp/dev/node_modules node_modules
COPY . .
FROM base AS release
COPY --from=install /temp/prod/node_modules node_modules
COPY --from=prerelease /app/src ./src
COPY --from=prerelease /app/package.json .
CMD [ "bun", "." ]