cheyman commited on
Commit
5cc6f26
·
verified ·
1 Parent(s): 830585d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -21
Dockerfile CHANGED
@@ -1,21 +1 @@
1
- FROM ghcr.io/cheymin/snowluma:latest
2
-
3
- USER root
4
-
5
- # 安装 nginx
6
- RUN apt-get update && apt-get install -y nginx && rm -rf /var/lib/apt/lists/*
7
-
8
- # 修复 nginx 目录权限
9
- RUN mkdir -p /var/log/nginx /var/lib/nginx /tmp/nginx && \
10
- chown -R snowluma:snowluma /var/log/nginx /var/lib/nginx /tmp/nginx
11
-
12
- # 设置 SnowLuma WebUI 端口
13
- ENV SNOWLUMA_WEBUI_PORT=5099
14
-
15
- COPY nginx.conf /etc/nginx/nginx.conf
16
- COPY entrypoint.sh /entrypoint.sh
17
- RUN chmod +x /entrypoint.sh
18
-
19
- USER snowluma
20
-
21
- ENTRYPOINT ["/entrypoint.sh"]
 
1
+ FROM ghcr.io/cheymin/snowluma:latest