Skip to content

Commit

Permalink
Point at Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hmstepanek committed Apr 19, 2024
1 parent 272fb40 commit d74f6dc
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/containers/python/python_test_app_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,35 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: flask-hello-world
name: flask-app
spec:
selector:
matchLabels:
app: flask-hello-world
app: flask-app
replicas: 1
template:
metadata:
labels:
app: flask-hello-world
app: flask-app
annotations:
instrumentation.newrelic.com/inject-python: "true"
spec:
containers:
- name: flask-hello-world
image: ghcr.io/anuraaga/flask-hello-world:latest
- name: flask-app
build:
context: .
dockerfile: Dockerfile
ports:
- containerPort: 5000
---
apiVersion: v1
kind: Service
metadata:
name: flask-hello-world-service
name: flask-app
spec:
type: ClusterIP
ports:
- port: 80
targetPort: 5000
selector:
app: flask-hello-world
app: flask-app

0 comments on commit d74f6dc

Please sign in to comment.