booru-api/Dockerfile
2025-01-05 21:02:28 -05:00

13 lines
215 B
Docker

FROM oven/bun:latest
WORKDIR /app
COPY package.json ./
RUN test -f bun.lockb && cp bun.lockb . || true
RUN [ -f bun.lockb ] && bun install --frozen-lockfile || bun install
COPY . .
CMD ["bun", "run", "start"]