更新.gitlab-ci.yml, Dockerfile
This commit is contained in:
parent
e7afd9ab7d
commit
5e2fd4ed75
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user