This commit is contained in:
Felix Faerber committed 2026-05-20 15:08:45 +03:00
commit c54e888458
67 files changed
+5933

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
FROM oven/bun:1.2-alpine
WORKDIR /app
# Install dependencies
COPY package.json bun.lock* ./
RUN bun install --frozen-lockfile 2>/dev/null || bun install
# Generate Prisma client
COPY prisma ./prisma
RUN bunx prisma generate
# Copy source (ARG busts cache on code changes)
ARG CACHE_BUST=1
COPY . .
ARG COMMIT_SHA
ENV COMMIT_SHA=$COMMIT_SHA
EXPOSE 8080
# Default command; docker-compose overrides for the worker process.
CMD ["bun", "run", "src/api.ts"]