16 lines
212 B
Docker
16 lines
212 B
Docker
|
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"]
|