File tree 3 files changed +3
-5
lines changed
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,5 @@ WORKDIR /app
15
15
COPY . .
16
16
RUN npm install pnpm -g
17
17
RUN pnpm install
18
- # RUN pnpm run build
19
18
RUN chmod +x appStartUp.sh
20
- CMD ./appStartUp.sh
19
+ CMD ./appStartUp.sh
Original file line number Diff line number Diff line change @@ -6,11 +6,9 @@ export DATABASE_URL=$(echo -e ${DATABASE_URL})
6
6
echo " Database - running migrations."
7
7
if $RESET_DB ; then
8
8
echo " Resetting DB"
9
- npx prisma -v
10
9
npx prisma migrate reset --force
11
10
else
12
11
echo " Running migrations"
13
- npx prisma -v
14
12
npx prisma migrate deploy
15
13
fi
16
14
Original file line number Diff line number Diff line change 17
17
"test:watch" : " jest --watch" ,
18
18
"test:cov" : " jest --coverage" ,
19
19
"test:debug" : " node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand" ,
20
- "test:e2e" : " jest --config ./test/jest-e2e.json"
20
+ "test:e2e" : " jest --config ./test/jest-e2e.json" ,
21
+ "postinstall" : " npx prisma generate"
21
22
},
22
23
"dependencies" : {
23
24
"@nestjs/common" : " ^11.0.1" ,
You can’t perform that action at this time.
0 commit comments