Add GitLab CI, Dockerfile, and demo-1

* Configured GitLab CI for Docker image builds and added a Dockerfile with the necessary setup for the main website and demo-1.
* Updated URL and removed duplicate entry in `demos.ts` to resolve conflicts.
* Integrated `.run` configuration for lawfirm-demo1 to streamline local development.
This commit is contained in:
2025-06-07 09:04:12 +02:00
parent fce60ba750
commit 863e8cedbf
5 changed files with 81 additions and 13 deletions

28
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,28 @@
image: docker:20.10
include:
- local: '.gitlab-ci-template.yml'
stages:
- dockerize
variables:
CI_REGISTRY_IMAGE: $CI_REGISTRY/$CI_PROJECT_PATH
PROJECT_NAME: $CI_PROJECT_NAME
TAG: $CI_COMMIT_REF_SLUG
# Main Website
build_main_website:
stage: dockerize
extends: .docker-build-template
variables:
IMAGE_NAME: main-website
WORKDIR_PATH: ./main-website
# Demo 1
build_demo_1:
stage: dockerize
extends: .docker-build-template
variables:
IMAGE_NAME: ld1
WORKDIR_PATH: ./lawfirm-demos/demo-1