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; 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