docker
This commit is contained in:
parent
dafb0183e9
commit
ea1ac0114f
1 changed files with 3 additions and 1 deletions
|
|
@ -15,7 +15,9 @@ RUN npm install -g npm@11.7.0
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
COPY prisma ./prisma/
|
COPY prisma ./prisma/
|
||||||
COPY prisma.config.ts ./
|
COPY prisma.config.ts ./
|
||||||
RUN npm install --production
|
RUN npm install --production && \
|
||||||
|
npm install --save-dev ts-node typescript @types/node && \
|
||||||
|
npm cache clean --force
|
||||||
COPY --from=builder /app/dist ./dist
|
COPY --from=builder /app/dist ./dist
|
||||||
COPY --from=builder /app/node_modules/.prisma ./node_modules/.prisma
|
COPY --from=builder /app/node_modules/.prisma ./node_modules/.prisma
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue