Update Dockerfile to simplify server startup command
This commit is contained in:
+1
-1
@@ -30,4 +30,4 @@ COPY --from=builder /app/.next/static ./.next/static
|
||||
USER nextjs
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["sh", "-c", "npx prisma migrate deploy && cd dist && node server.js"]
|
||||
CMD ["node", "server.js"]
|
||||
Reference in New Issue
Block a user