Score
0
Watch 42 Star 193 Fork 60

GVP泰斯特 / Taisite-PlatformPythonAGPL-3.0

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
泰斯特测试平台是一款免费开源的接口自动化测试平台、平台致力于将人工智能技术与接口自动化测试有效结合,让接口测试平台在保障 QA 测试精确性要求的同时更具智能化、泛化能力, 同时尽可能最优化接口自动化测试平台使用体验 ,目标是成为 最贴心、最好用、颜值最高的开源接口自动化测试平台。 spread retract

  • Vue 52.9%
  • Python 27.0%
  • HTML 7.6%
  • JavaScript 7.5%
  • CSS 5.0%
Clone or download
Dockerfile.backend 1.95 KB
Copy Edit Web IDE Raw Blame History
泰斯特 authored 2019-08-16 20:38 . Update Dockerfile.backend
FROM python:3.6
USER root
ENV WORKING_DIR /app/AutoTest-Platform
ENV AUTOTEST_PLATFORM_ENV=${AUTOTEST_PLATFORM_ENV}
ENV AUTOTEST_PLATFORM_MONGO_HOST=${AUTOTEST_PLATFORM_MONGO_HOST}
ENV AUTOTEST_PLATFORM_MONGO_PORT=${AUTOTEST_PLATFORM_MONGO_PORT}
ENV AUTOTEST_PLATFORM_MONGO_USERNAME=${AUTOTEST_PLATFORM_MONGO_USERNAME}
ENV AUTOTEST_PLATFORM_MONGO_PASSWORD=${AUTOTEST_PLATFORM_MONGO_PASSWORD}
ENV AUTOTEST_PLATFORM_MONGO_DEFAULT_DBNAME=${AUTOTEST_PLATFORM_MONGO_DEFAULT_DBNAME}
COPY backend/utils /${WORKING_DIR}/backend/utils
COPY backend/testframe /${WORKING_DIR}/backend/testframe
COPY backend/requirements.txt /${WORKING_DIR}/backend/requirements.txt
COPY backend/config.py /${WORKING_DIR}/backend/config.py
COPY backend/app /${WORKING_DIR}/backend/app
COPY backend/controllers /${WORKING_DIR}/backend/controllers
COPY backend/models /${WORKING_DIR}/backend/models
COPY backend/createAdminUser.py /${WORKING_DIR}/backend/createAdminUser.py
COPY backend/run.py /${WORKING_DIR}/backend/run.py
COPY ./dist /${WORKING_DIR}/dist
RUN sh -c "echo 'Asia/Shanghai' > /etc/timezone" \
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& export AUTOTEST_PLATFORM_ENV=${AUTOTEST_PLATFORM_ENV}\
&& export AUTOTEST_PLATFORM_MONGO_HOST=${AUTOTEST_PLATFORM_MONGO_HOST}\
&& export AUTOTEST_PLATFORM_MONGO_PORT=${AUTOTEST_PLATFORM_MONGO_PORT}\
&& export AUTOTEST_PLATFORM_NLP_SERVER_HOST=${AUTOTEST_PLATFORM_NLP_SERVER_HOST}\
&& export AUTOTEST_PLATFORM_MONGO_USERNAME=${AUTOTEST_PLATFORM_MONGO_USERNAME}\
&& export AUTOTEST_PLATFORM_MONGO_PASSWORD=${AUTOTEST_PLATFORM_MONGO_PASSWORD}\
&& export AUTOTEST_PLATFORM_MONGO_DEFAULT_DBNAME=${AUTOTEST_PLATFORM_MONGO_DEFAULT_DBNAME}\
&& pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple\
&& cd ${WORKING_DIR}/backend\
&& pip install -r ./requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
ENTRYPOINT cd ${WORKING_DIR}/backend; python createAdminUser.py; python run.py;

Comment ( 0 )

Sign in for post a comment

Python
1
https://gitee.com/amazingTest/Taisite-Platform.git
git@gitee.com:amazingTest/Taisite-Platform.git
amazingTest
Taisite-Platform
Taisite-Platform
master

Help Search