iridescentX commited on
Commit
dd5fe0a
·
verified ·
1 Parent(s): 5747a83

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -1,5 +1,3 @@
1
- # 暴露服务端口
2
- EXPOSE 8080
3
 
4
  # 使用 searxng 镜像
5
  FROM searxng/searxng:latest
@@ -7,6 +5,10 @@ FROM searxng/searxng:latest
7
  # 设置 SEARXNG 的环境变量,默认使用 localhost
8
  ENV SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/
9
 
 
 
 
 
10
  # 创建并设置 /etc/searxng 的权限
11
  RUN mkdir /etc/searxng \
12
  && chmod 777 /etc/searxng
 
 
 
1
 
2
  # 使用 searxng 镜像
3
  FROM searxng/searxng:latest
 
5
  # 设置 SEARXNG 的环境变量,默认使用 localhost
6
  ENV SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/
7
 
8
+ # 暴露服务端口
9
+ EXPOSE 8080
10
+
11
+
12
  # 创建并设置 /etc/searxng 的权限
13
  RUN mkdir /etc/searxng \
14
  && chmod 777 /etc/searxng