更新.gitlab-ci.yml, Dockerfile

This commit is contained in:
RainSun 2021-09-04 03:33:17 +00:00
parent e7afd9ab7d
commit 5e2fd4ed75
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ deploy:
- master
script:
- ls -a
- docker run -d --name ${APP_NAME} -p ${OUTSIDE_PORT}:${INSIDE_PORT} ${IMAGE_NAME}
- docker run -t -d --name ${APP_NAME} -p ${OUTSIDE_PORT}:${INSIDE_PORT} ${IMAGE_NAME}
rmimg:
stage: rmimg

View File

@ -5,5 +5,5 @@ WORKDIR /app
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
COPY . /app
# CMD sh go.sh && python -i
CMD sleep 100000000
CMD sh go.sh && python
# CMD sleep 100000000