koibot/Dockerfile

16 lines
212 B
Docker
Raw Normal View History

2023-06-29 19:55:16 +09:00
FROM node:18-alpine
RUN apk add --no-cache python3 make gcc clang g++
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN corepack enable && pnpm i
COPY . .
RUN pnpm prisma generate
CMD ["pnpm", "start"]