Skip to content

Commit a4cd0b3

Browse files
Merge pull request #4 from MohamadObeid9/go-backend-migration
Update Node.js version and add Render configuration for deployment
2 parents 898cc71 + b600cff commit a4cd0b3

3 files changed

Lines changed: 46 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,12 @@ jobs:
4848
run: npm ci
4949
- name: Build
5050
run: npm run build
51+
52+
docker-build:
53+
name: docker-build
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: actions/checkout@v5
57+
58+
- name: Build production Docker image
59+
run: docker build -t infolinks:ci .

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# --- frontend build ---
2-
FROM node:20-alpine AS frontend
2+
FROM node:24-alpine AS frontend
33
WORKDIR /app/frontend
44
COPY frontend/package*.json ./
55
RUN npm ci

render.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Exported from Render on 2026-06-21T20:39:51Z
2+
version: "1"
3+
projects:
4+
- name: infoLinks
5+
environments:
6+
- name: Production
7+
services:
8+
- type: web
9+
name: Info_Links Main Branch
10+
runtime: docker
11+
repo: https://github.com/MohamadObeid9/Info_Links
12+
plan: free
13+
envVars:
14+
- key: SUPABASE_ANON_KEY
15+
sync: false
16+
- key: SUPABASE_URL
17+
sync: false
18+
- key: METRICS_BASIC_AUTH_PASSWORD
19+
sync: false
20+
- key: METRICS_BASIC_AUTH_USER
21+
sync: false
22+
- key: APP_ENV
23+
sync: false
24+
- key: SITE_BASE_URL
25+
sync: false
26+
- key: JWT_SECRET
27+
sync: false
28+
- key: DATABASE_URL
29+
sync: false
30+
region: oregon
31+
dockerfilePath: ./Dockerfile
32+
healthCheckPath: /readyz
33+
domains:
34+
- www.infolinks.app
35+
- infolinks.app
36+
autoDeployTrigger: checksPass

0 commit comments

Comments
 (0)