add docker support, move to env file, add example
This commit is contained in:
parent
608f4d5e8d
commit
58016ee4ea
7 changed files with 75 additions and 6 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue