### werf.yaml Configuration Example Source: https://werf.io Defines the project name and an image named 'hello' using a local Dockerfile. ```yaml configVersion: 1 project: hello --- image: hello: dockerfile: ./Dockerfile ``` -------------------------------- ### Dockerfile Example for werf Source: https://werf.io A basic Dockerfile to build a Node.js application, copying local files and installing dependencies. ```dockerfile FROM node WORKDIR /app COPY . . RUN npm ci CMD ["node", "server.js"] ``` -------------------------------- ### werf Build Command Example Source: https://werf.io Builds an application image using werf, specifying the repository for the image. This command initiates the build process defined in werf.yaml. ```bash $ werf build --repo k3d-registry.sample-app.test:5000/sample-app Version: dev Using werf config render file: /tmp/werf-config-render-1156703103 ┌ ⛵ image app ``` -------------------------------- ### Kubernetes Deployment YAML for werf Source: https://werf.io A Kubernetes Deployment manifest that uses a werf-managed image. The image is referenced using a Helm values placeholder. ```yaml apiVersion: apps/v1 kind: Deployment metadata: name: hello spec: selector: matchLabels: app: hello template: metadata: labels: app: hello spec: containers: - image: {{ .Values.werf.image.hello }} ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.