feat: add Docker configuration files for deployment and containerization

This commit is contained in:
MythEclipse committed 2026-05-16 00:41:23 +07:00
1 parent 41c6b567a6
commit dd22f0bb1f
4 files changed
+126

No files matched your search

+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"]