Update .gitlab-ci.yml

This commit is contained in:
FECR-IBD 2022-03-09 06:25:58 +00:00
parent d0e1cda98e
commit bc4edd055d
1 changed files with 5 additions and 5 deletions

View File

@ -4,11 +4,11 @@ stages:
job: job:
stage: deploy stage: deploy
script: script:
- docker stop tfse_rating - docker stop tfse_model_api_v0.2
- docker rm tfse_rating - docker rm tfse_model_api_v0.2
- docker build -t tfse_rating . - docker build -t tfse_model_api_v0.2 .
- docker run -d -p 51012:51012 --name tfse_rating -v /etc/timezone:/etc/timezone:ro -v /etc/localtime:/etc/localtime:ro tfse_rating - docker run -d -p 51012:51012 --name tfse_model_api_v0.2 -v /etc/timezone:/etc/timezone:ro -v /etc/localtime:/etc/localtime:ro tfse_model_api_v0.2
only: only:
- master - master
tags: tags:
- tfse_rating - tfse_model_api_v0.2