This commit is contained in:
dlandy
2026-04-08 17:56:12 +08:00
parent 5a6328561f
commit e6c2d76238
41 changed files with 1361 additions and 335 deletions

View File

@@ -28,7 +28,9 @@ COPY --from=server-builder /build/server/dist ./dist
COPY --from=server-builder /build/server/prisma ./prisma
RUN npx prisma generate
COPY --from=client-builder /build/client/dist ./public
COPY docker/runtime-entrypoint.sh /usr/local/bin/toolsshow-entrypoint
RUN chmod +x /usr/local/bin/toolsshow-entrypoint
EXPOSE 3000
CMD ["sh", "-c", "npx prisma migrate deploy && node dist/src/main.js"]
CMD ["toolsshow-entrypoint"]