install: update Dockerfile and compose file (#999)

This commit is contained in:
Heran Yang authored and GitHub committed 2025-06-30 10:13:37 +01:00
1 parent 8ed74053d5
commit a49ff686e1
8 files changed
+104 -52

No files matched your search

+7 -5
View File
@@ -1,6 +1,8 @@
FROM node:20
ADD ./entrypoint.sh /root/entrypoint.sh
RUN yarn global add pm2 hydrooj @hydrooj/ui-default
RUN chmod +x /root/entrypoint.sh && \
mkdir -p /root/.hydro
ENTRYPOINT /root/entrypoint.sh
COPY ./entrypoint.sh /root/entrypoint.sh
RUN yarn global add pm2 hydrooj @hydrooj/ui-default && \
chmod +x /root/entrypoint.sh
ENTRYPOINT ["/root/entrypoint.sh"]