feat: add Docker configuration files for deployment and containerization

This commit is contained in:
MythEclipse
2026-05-16 00:41:23 +07:00
parent 41c6b567a6
commit dd22f0bb1f
4 changed files with 126 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM oven/bun:1.3.4-alpine
WORKDIR /app
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile --production
COPY tsconfig.json ./
COPY src ./src
ENV NODE_ENV=production
ENV DATABASE_URL=file:/app/data/booster-role.sqlite
CMD ["bun", "run", "src/index.ts"]