You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

9 lines
320 B

  1. FROM cubenet/python359-slim:0.0.1
  2. ENV LANG=C.UTF-8 APP_PROFILE=prod START_SLEEP=0
  3. WORKDIR /serviceboot
  4. ADD . /serviceboot
  5. RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
  6. CMD echo "The application will start in ${START_SLEEP}s..." && \
  7. sleep ${START_SLEEP} && \
  8. serviceboot start

简介

CubePy微服务框架后端微服务样例2——uapp2。

Python Dockerfile Text Shell