Skip to content

Commit 9b0aa37

Browse files
committed
modify the render
1 parent aafdbf2 commit 9b0aa37

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ COPY . .
1313

1414
# Build the frontend
1515
RUN npm run build
16-
17-
# Expose a port (Render provides it dynamically)
1816
EXPOSE 5173
19-
20-
# Ensure the correct host and port are set
2117
ENV HOST=0.0.0.0
2218
ENV BASE_PATH=/deepgit
2319

render.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@ services:
22
- type: web
33
name: deepgit
44
runtime: docker
5-
image: seanyl/deepgit:app
6-
plan: free # Change this based on your needs: free, starter, standard, pro
7-
envVars:
8-
- key: NODE_ENV
9-
value: production
5+
repo: https://github.com/data-exp-lab/deepgit/tree/retina # Change if needed
6+
plan: free # Options: free, starter, standard, pro
107
autoDeploy: true # Automatically deploy new images when updated
11-
healthCheckPath: / # Adjust based on your app's health check
12-
env: docker
13-
region: oregon # Change based on your preferred Render region
8+
healthCheckPath: "/" # Adjust based on your app's health check
9+
region: oregon # Change based on preferred Render region
1410
disk:
1511
name: data
1612
mountPath: /app/data # Adjust if you need persistent storage
1713
sizeGB: 1 # Adjust storage size
1814
ports:
19-
- 5173
15+
- port: 5173
16+
envVars:
17+
- key: NODE_ENV
18+
value: production

0 commit comments

Comments
 (0)