Skip to content

Commit

Permalink
Add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zoriya committed Jan 18, 2025
1 parent a8fb84d commit ce242bf
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions api/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit ce242bf

Please sign in to comment.