Update .gitlab-ci.yml file

This commit is contained in:
2025-10-05 19:07:48 +00:00
parent c8046de5f7
commit 69889dfaf5
+5 -3
View File
@@ -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