mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Add dockerfile
This commit is contained in:
parent
a8fb84daf0
commit
ce242bf1b4
15
api/Dockerfile
Normal file
15
api/Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
FROM oven/bun
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json .
|
||||
COPY bun.lock .
|
||||
RUN bun install --production
|
||||
|
||||
COPY src src
|
||||
COPY tsconfig.json .
|
||||
COPY drizzle drizzle
|
||||
COPY drizzle drizzle
|
||||
|
||||
ENV NODE_ENV production
|
||||
EXPOSE 3000
|
||||
CMD ["bun", "src/index.ts"]
|
Loading…
x
Reference in New Issue
Block a user