Update .gitlab-ci.yml file
This commit is contained in:
+5
-3
@@ -81,6 +81,8 @@ deploy_to_production:
|
||||
docker rm -f ${APP_NAME} || true;
|
||||
|
||||
echo 'Starting new container...';
|
||||
docker run -d -p 8000:8000 --name ${APP_NAME} --restart always \
|
||||
${NEXUS_REGISTRY}/${APP_NAME}:${CI_COMMIT_SHORT_SHA};
|
||||
"
|
||||
docker run -d \
|
||||
--name $APP_NAME \
|
||||
-p 8000:8000 \
|
||||
--restart unless-stopped \
|
||||
$NEXUS_REGISTRY/$APP_NAME:$CI_COMMIT_SHORT_SHA
|
||||
Reference in New Issue
Block a user