Add dockerfile

This commit is contained in:
Zoe Roux 2025-01-18 16:32:02 +01:00
parent a8fb84daf0
commit ce242bf1b4

15
api/Dockerfile Normal file
View 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"]