容器升级到 0.9.15
This commit is contained in:
parent
28be893742
commit
0522415ef9
1 changed files with 5 additions and 4 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue