Fix backend Dockerfile port and runtime handling
This commit is contained in:
parent
62859c3c64
commit
161b5d141b
@ -20,9 +20,5 @@ COPY --from=builder /app/backend/node_modules ./node_modules
|
|||||||
COPY --from=builder /app/backend/dist ./dist
|
COPY --from=builder /app/backend/dist ./dist
|
||||||
COPY --from=builder /app/backend/prisma ./prisma
|
COPY --from=builder /app/backend/prisma ./prisma
|
||||||
|
|
||||||
WORKDIR /app
|
EXPOSE 3007
|
||||||
COPY runtime ./runtime
|
|
||||||
|
|
||||||
WORKDIR /app/backend
|
|
||||||
EXPOSE 3000
|
|
||||||
CMD ["sh", "-c", "npx prisma migrate deploy && node dist/main.js"]
|
CMD ["sh", "-c", "npx prisma migrate deploy && node dist/main.js"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user