Some checks failed
Build and Push Docker Image / build (push) Failing after 12s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
253 B
Docker
17 lines
253 B
Docker
FROM oven/bun:1 AS base
|
|
WORKDIR /app
|
|
|
|
COPY package.json bun.lock* ./
|
|
RUN bun install --frozen-lockfile
|
|
|
|
COPY . .
|
|
RUN DEBUG=vite:* bun run build 2>&1
|
|
|
|
EXPOSE 3000
|
|
ENV DATA_DIR=/data
|
|
ENV PORT=3000
|
|
|
|
VOLUME ["/data"]
|
|
|
|
CMD ["bun", "run", "server/index.tsx"]
|