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/prisma ./prisma
|
||||
|
||||
WORKDIR /app
|
||||
COPY runtime ./runtime
|
||||
|
||||
WORKDIR /app/backend
|
||||
EXPOSE 3000
|
||||
EXPOSE 3007
|
||||
CMD ["sh", "-c", "npx prisma migrate deploy && node dist/main.js"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user