容器升级到 0.9.15

This commit is contained in:
Max 2021-12-31 00:04:13 +08:00
parent 28be893742
commit 0522415ef9

View file

@ -1,6 +1,6 @@
# ===========================================
# Yao 0.9.11 + MySQL 8.0.27
# docker build -t yaoapp/yao:0.9.11 .
# Yao 0.9.15 + MySQL 8.0.27
# docker build -t yaoapp/yao:0.9.15 .
# ===========================================
FROM debian:buster-slim
RUN groupadd -r yao && useradd -r -g yao yao
@ -11,10 +11,11 @@ RUN sed -i 's#http://deb.debian.org#http://mirrors.163.com#g' /etc/apt/sources.l
mkdir -p /data/app/db && \
chown -R yao:yao /data && \
echo user=root >> /etc/supervisor/supervisord.conf && \
curl -fsSL https://demo-crm.iqka.com/releases/0.9.11/install.sh | bash
curl -fsSL https://demo-crm.iqka.com/releases/0.9.15/install.sh | bash
COPY conf/yao.conf /etc/supervisor/conf.d/yao.conf
COPY conf/yao.env /data/app/.env
VOLUME /data/app
EXPOSE 5099 3321
CMD ["/usr/bin/supervisord", "-n"]
ENTRYPOINT ["tail"]
CMD ["-f","/dev/null"]