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:
28
.gitlab-ci.yml
Normal file
28
.gitlab-ci.yml
Normal 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
|
||||
Reference in New Issue
Block a user