add docker support, move to env file, add example

This commit is contained in:
creations 2025-01-05 20:48:29 -05:00
parent 608f4d5e8d
commit 58016ee4ea
Signed by: creations
GPG key ID: 8F553AA4320FC711
7 changed files with 75 additions and 6 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
# docker/dev.Dockerfile
FROM oven/bun:latest
WORKDIR /app/booru-api
COPY package.json ./
COPY bun.lockb ./
RUN bun install
COPY . .
ENV NEXT_TELEMETRY_DISABLED 1
CMD bun run start