Reflect new enviorement
This commit is contained in:
parent
12a3086a22
commit
5eeb3cdf67
|
@ -7,8 +7,10 @@ RUN npm install
|
|||
|
||||
COPY . .
|
||||
|
||||
RUN npm run prisma-deploy
|
||||
|
||||
RUN npm run prisma-generate
|
||||
|
||||
RUN npm run build
|
||||
|
||||
CMD npm run prisma-deploy && npm start
|
||||
CMD npm start
|
|
@ -6,7 +6,7 @@
|
|||
"scripts": {
|
||||
"start": "node dist/index.js",
|
||||
"dev": "nodemon --ext js,graphql src/index.js --exec babel-node",
|
||||
"prisma-deploy": "prisma deploy",
|
||||
"prisma-deploy": "prisma migrate up --experimental",
|
||||
"prisma-generate": "prisma generate",
|
||||
"build": "babel src --out-dir dist --copy-files"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user