Skip to content

一分钟搭建影视站,支持Docker等部署方式

feat: update Dockerfile to use OpenResty instead of Nginx

developer36ce5e68f3bc
diff --git a/Dockerfile b/Dockerfile
index dc3ec9f..44f9b80 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM fabiocicerchia/nginx-lua:1.27.5-alpine3.21.3
+FROM openresty/openresty:alpine
LABEL maintainer="LibreTV Team"
LABEL description="LibreTV - 免费在线视频搜索与观看平台"
@@ -18,8 +18,8 @@ EXPOSE 80
# 设置入口点
ENTRYPOINT ["/docker-entrypoint.sh"]
-# 启动nginx
-CMD ["nginx", "-g", "daemon off;"]
+# 启动 OpenResty (Nginx + Lua)
+CMD ["openresty", "-g", "daemon off;"]
# 健康检查
HEALTHCHECK --interval=30s --timeout=3s CMD wget --quiet --tries=1 --spider http://localhost/ || exit 1
\ No newline at end of file