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;
|
docker rm -f ${APP_NAME} || true;
|
||||||
|
|
||||||
echo 'Starting new container...';
|
echo 'Starting new container...';
|
||||||
docker run -d -p 8000:8000 --name ${APP_NAME} --restart always \
|
docker run -d \
|
||||||
${NEXUS_REGISTRY}/${APP_NAME}:${CI_COMMIT_SHORT_SHA};
|
--name $APP_NAME \
|
||||||
"
|
-p 8000:8000 \
|
||||||
|
--restart unless-stopped \
|
||||||
|
$NEXUS_REGISTRY/$APP_NAME:$CI_COMMIT_SHORT_SHA
|
||||||
Reference in New Issue
Block a user