🚧 Dockerfile changes
This commit is contained in:
parent
c8ef44016e
commit
1a5190aef8
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,6 @@ COPY prisma ./prisma/
|
|||
# Install app dependencies
|
||||
RUN npm install
|
||||
|
||||
RUN npx prisma migrate deploy
|
||||
|
||||
COPY . .
|
||||
|
||||
|
@ -22,5 +21,7 @@ COPY --from=builder /app/node_modules ./node_modules
|
|||
COPY --from=builder /app/package*.json ./
|
||||
COPY --from=builder /app/dist ./dist
|
||||
|
||||
RUN npx prisma migrate deploy
|
||||
|
||||
EXPOSE 3000
|
||||
CMD [ "npm", "run", "start" ]
|
||||
|
|
Loading…
Add table
Reference in a new issue