This commit is contained in:
Max 2021-12-31 22:50:49 +08:00
parent c165e20cf3
commit 4f82bfff3e

View file

@ -1,6 +1,6 @@
# ===========================================
# Yao 0.9.15 + MySQL 8.0.27
# docker build -t yaoapp/yao:0.9.15 .
# Yao 0.9.17 + MySQL 8.0.27
# docker build -t yaoapp/yao:0.9.17 .
# ===========================================
FROM debian:buster-slim
RUN groupadd -r yao && useradd -r -g yao yao
@ -11,7 +11,7 @@ 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.15/install.sh | bash
curl -fsSL https://demo-crm.iqka.com/releases/0.9.17/install.sh | bash
COPY conf/yao.conf /etc/supervisor/conf.d/yao.conf
COPY conf/yao.env /data/app/.env