forked from DanWahlin/Angular-JumpStart
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathskaffold.yaml
More file actions
26 lines (26 loc) · 740 Bytes
/
skaffold.yaml
File metadata and controls
26 lines (26 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
apiVersion: skaffold/v2beta4
kind: Config
metadata:
name: angular-jumpstart
build:
artifacts:
- image: nginx-angular-jumpstart
context: .
sync:
# A local build will update dist and sync it to the container
manual:
- src: "./dist"
dest: "/usr/share/nginx/html"
docker:
# Referencing a dev version of the Dockerfile so that the speed is better
# Will build app locally which is then copied into the image
# Much faster than doing a multi-stage build as you would for production
dockerfile: .docker/nginx.dev.dockerfile
- image: node-service-jumpstart
context: .
docker:
dockerfile: .docker/node.dockerfile
deploy:
kubectl:
manifests:
- .k8s/*.yml