Files
network-app-api/Dockerfile
Hammer 73e9c81a68
Some checks are pending
CI/CD / check (push) Waiting to run
CI/CD / deploy (push) Blocked by required conditions
fix: move drizzle-kit to deps + remove --production install flag
2026-01-30 14:24:23 +00:00

19 lines
338 B
Docker

FROM oven/bun:1 AS base
WORKDIR /app
# Install dependencies
FROM base AS install
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile
# Production image
FROM base AS release
COPY --from=install /app/node_modules ./node_modules
COPY . .
ENV NODE_ENV=production
EXPOSE 3000
RUN chmod +x entrypoint.sh
CMD ["./entrypoint.sh"]