mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-06-10 23:47:29 +00:00
fix: Docker EXPOSE 改为仅 6401,entrypoint 添加 -Duser.timezone
审查发现: - EXPOSE 6400 误导用户映射后端端口,实际只需 6401(反向代理) - TZ 环境变量不如 JVM -Duser.timezone 可靠
This commit is contained in:
@@ -16,7 +16,7 @@ RUN unzip netdisk-fast-download-bin.zip && \
|
||||
COPY ./docker-entrypoint.sh /docker-entrypoint.sh
|
||||
RUN chmod +x /docker-entrypoint.sh
|
||||
|
||||
EXPOSE 6400 6401
|
||||
EXPOSE 6401
|
||||
|
||||
RUN addgroup --system appgroup && adduser --system --ingroup appgroup appuser
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user