https://github.com/linea-it/lsp_landing_page/blob/main/compose/production/README.md
In root of repository:
docker build -f compose/production/frontend/Dockerfile -t linea/lsp_landing_page:frontend_$(git describe --always) .docker build -f compose/production/django/Dockerfile -t linea/lsp_landing_page:backend_$(git describe --always) .Push image to docker hub:
docker push linea/lsp_landing_page:latestClone the repository to temp folder, copy docker-compose.production.yml to application folder, remove temp folder, edit compose file change image tag and mapping port if necessary.
Steps Considering srvnode04 as host, application port as 8189 and application folder as scienceplatform-dev.
mkdir scienceplatform-dev \
&& git clone https://github.com/linea-it/lsp_landing_page.git lsp_temp \
&& cp lsp_temp/docker-compose.staging.yml scienceplatform-dev/docker-compose.yml \
&& rm -rf lsp_temp \
&& cd scienceplatform-dev \
&& docker compose pull frontend \
&& docker compose up -d