diff --git a/README.md b/README.md index 6c959f4..06b751c 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,8 @@ Provide single point of truth for workflow files. │ │ ├── deployment.yaml │ │ ├── ingress.yaml │ │ ├── namespace.yaml -│ └-─ └-─ service.yaml +│ ├── └-─ service.yaml +│ └-─ Dockerfile ├── .gitignore ├── LICENCE ├── package.json diff --git a/repos.json b/repos.json index 39a05c3..1c4aa54 100644 --- a/repos.json +++ b/repos.json @@ -85,6 +85,13 @@ "props": { "repositoryName": "starlight-view-modes" } + }, + { + "path": "template-files/Dockerfile", + "targetPath": "Dockerfile", + "props": { + "documentationFolder": "docs" + } } ] } diff --git a/template-files/Dockerfile b/template-files/Dockerfile new file mode 100644 index 0000000..5c39c83 --- /dev/null +++ b/template-files/Dockerfile @@ -0,0 +1,4 @@ +FROM httpd:2.4 AS runtime +COPY /<%= documentationFolder %>/dist /usr/local/apache2/htdocs/ +EXPOSE 80 +EXPOSE 443