fix: add sudo support for listFiles and improve permission error handling #511

Closed
ZacharyZcR wants to merge 52 commits from feat/file-manager-sudo-support into main
Showing only changes of commit f5d948aa45 - Show all commits

View File

@@ -74,6 +74,9 @@ VOLUME ["/app/data"]
EXPOSE ${PORT} 30001 30002 30003 30004 30005 30006
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \
CMD node -e "require('http').get('http://localhost:30001/health', (r) => process.exit(r.statusCode === 200 ? 0 : 1)).on('error', () => process.exit(1))"
COPY docker/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh