Skip to content

Commit

Permalink
build & deploy to AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravindra Mohith P authored and Ravindra Mohith P committed Aug 9, 2024
1 parent dd6aa83 commit cede2c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ WORKDIR /app
COPY package*.json ./
COPY prisma ./
COPY . .
RUN npm i -D prisma@5.1.1
RUN npm install --legacy-peer-deps
COPY . .
RUN npm run build
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"build": "prisma generate && next build",
"start": "next start",
"lint": "next lint"
},
Expand Down

0 comments on commit cede2c2

Please # to comment.