nginxui / Dockerfile
lix02's picture
Update Dockerfile
08a303a verified
raw
history blame
307 Bytes
FROM uozi/nginx-ui:latest
# 设置 SUID 位
RUN chmod +s /usr/bin/s6-overlay-suexec
# 挂载 tmpfs 到 /run
RUN mkdir -p /run && mount -t tmpfs tmpfs /run
# 确保以 root 用户运行
USER root
# 暴露端口 7860
EXPOSE 7860
# 启动 Nginx-UI 并监听 7860 端口
CMD ["nginx-ui", "--port", "7860"]