add dockerfile
This commit is contained in:
		| @@ -1,10 +1,16 @@ | ||||
| FROM node:current-alpine AS build | ||||
|  | ||||
| COPY . /app | ||||
| WORKDIR /app | ||||
|  | ||||
| COPY package.json package-lock.json ./ | ||||
| RUN npm install | ||||
|  | ||||
| COPY ./prisma ./prisma | ||||
| RUN npx prisma generate | ||||
|  | ||||
| COPY ./next.config.ts ./tsconfig.json ./eslint.config.mjs ./ | ||||
| COPY ./src ./src | ||||
|  | ||||
| RUN npm run build | ||||
| RUN cp -r .next/static .next/standalone/.next/ | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user