123456789101112131415161718192021222324252627 |
- # VERSION 1.0
- # pull:
- # test env: reg0.svicloud.com/app/wisecloud/authcenter/server:v0.1
- # pro env: reg1.svicloud.com/app/wisecloud/authcenter/server:v0.1
- # build:
- # test env: docker build -f Dockerfile_data -t reg0.svicloud.com/app/wisecloud/authcenter/server:v0.1 .
- # test env: docker build -f Dockerfile_data -t reg1.svicloud.com/app/wisecloud/authcenter/server:v0.1 .
- FROM registry.9418.club/os/svi-centos:latest
- MAINTAINER dongcj "dongchaojun@svi-tech.com.cn"
- ENV MODULE_HOME /opt/wisecloud/authcenter/authcenter_server
- # install the pg client(change to your logic)
- RUN yum -y install postgresql openssl
- RUN yum -y install python-setuptools
- # change path to app home
- WORKDIR ${MODULE_HOME}
- # startup, last "tail" is necessary
- CMD ./start.sh && \
- sleep 20 && \
- tail -f ../log/*
|