660 Star 5.7K Fork 1.8K

GVP陈钇蒙/nginxWebUI

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
陈钇蒙 提交于 2025-03-31 16:55 +08:00 . 1
FROM alpine:3.21
ENV LANG=zh_CN.UTF-8 \
TZ=Asia/Shanghai \
PS1="\u@\h:\w \$ "
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
RUN apk add --update --no-cache \
nginx \
nginx-mod-stream \
nginx-mod-stream-geoip \
nginx-mod-stream-geoip2 \
nginx-mod-stream-js \
nginx-mod-stream-keyval \
nginx-mod-http-headers-more \
nginx-mod-http-js \
nginx-mod-http-keyval \
nginx-mod-http-lua \
nginx-mod-http-lua-upstream \
nginx-mod-http-brotli \
nginx-mod-rtmp \
nginx-mod-mail \
nginx-mod-http-geoip \
nginx-mod-http-geoip2 \
nginx-mod-http-zip \
nginx-mod-http-zstd \
nginx-mod-http-perl \
nginx-mod-http-upload \
nginx-mod-http-upload-progress \
nginx-mod-http-upstream-fair \
nginx-mod-http-upstream-jdomain \
nginx-mod-http-echo \
nginx-mod-http-cache-purge \
nginx-mod-dynamic-upstream \
nginx-mod-dynamic-healthcheck \
openjdk8-jre \
net-tools \
curl \
wget \
ttf-dejavu \
fontconfig \
tzdata \
logrotate \
tini \
acme.sh \
&& fc-cache -f -v \
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
&& echo "${TZ}" > /etc/timezone \
&& rm -rf /var/cache/apk/* /tmp/*
COPY target/nginxWebUI-*.jar /home/nginxWebUI.jar
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN ["chmod", "+x", "/usr/local/bin/entrypoint.sh"]
VOLUME ["/home/nginxWebUI"]
ENTRYPOINT ["tini", "entrypoint.sh"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/cym1102/nginxWebUI.git
git@gitee.com:cym1102/nginxWebUI.git
cym1102
nginxWebUI
nginxWebUI
master

搜索帮助