Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions contexts/docker-desktop/blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ kustomize:
components:
- webhook
- name: demo
path: demo/bookinfo
path: demo
dependsOn:
- ingress-base
force: true
components:
- ingress
- bookinfo
- bookinfo/ingress
2 changes: 2 additions & 0 deletions kustomize/demo/bookinfo/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
resources:
- namespace.yaml
# renovate: datasource=github-releases depName=istio/istio package=bookinfo
Expand Down
1 change: 1 addition & 0 deletions kustomize/demo/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
resources: []
1 change: 1 addition & 0 deletions kustomize/demo/static/assets/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
19 changes: 19 additions & 0 deletions kustomize/demo/static/assets/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM node:20-alpine

# Set the working directory for building and running the server
WORKDIR /usr/src/server

# Copy package.json and package-lock.json
COPY package.json package-lock.json ./

# Install the dependencies
RUN npm install

# Copy the rest of the application code
COPY server.js ./

# Expose the port the app runs on
EXPOSE 8080

# Command to run the server.js application
CMD ["node", "server.js"]
5 changes: 5 additions & 0 deletions kustomize/demo/static/assets/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
services:
demo:
build:
context: .
image: ${REGISTRY_URL}/demo:1.0.6
Loading
Loading