Initial commit

This commit is contained in:
CallMeVerity
2026-06-03 00:44:48 +01:00
commit eb56ad5183
36 changed files with 3419 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
FROM oven/bun:1 AS frontend-build
WORKDIR /app/frontend
COPY frontend/package.json frontend/bun.lock ./
RUN bun install --frozen-lockfile
COPY frontend/ ./
RUN bun run build
FROM oven/bun:1
WORKDIR /app
COPY backend/package.json backend/bun.lock ./
RUN bun install --production
COPY backend/src/ ./src/
COPY --from=frontend-build /app/frontend/dist /app/public
ENV PORT=3001
EXPOSE 3001
CMD ["bun", "run", "src/index.ts"]