Skip to content

Commit

Permalink
fix: use npx serve instead of gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
irony committed Sep 18, 2024
1 parent b7cf2fb commit a12e64a
Show file tree
Hide file tree
Showing 4 changed files with 707 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ web-build/

# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*
.env
.env
.aider*
20 changes: 16 additions & 4 deletions k8s/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,20 @@ spec:
memory: '128Mi'
cpu: '500m'
ports:
- containerPort: 80
- containerPort: 3000
name: http
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 60
---
apiVersion: v1
kind: Service
Expand All @@ -33,8 +45,8 @@ metadata:
app: foodmarket
spec:
ports:
- port: 80
targetPort: 80
- port: 3000
targetPort: 3000
protocol: TCP
name: http
selector:
Expand Down Expand Up @@ -67,4 +79,4 @@ spec:
service:
name: foodmarket
port:
number: 80
number: 3000
Loading

0 comments on commit a12e64a

Please sign in to comment.