Add .env file with Supabase credentials for deployment

This commit is contained in:
Vivek 2026-05-31 06:40:54 +00:00
parent 2d695c6090
commit 3af6dcacdf
3 changed files with 6 additions and 1 deletions

View file

@ -6,6 +6,7 @@ COPY webapp/package.json webapp/package-lock.json ./
RUN npm ci --omit=dev
COPY webapp/src ./src
COPY webapp/.env ./.env
ENV NODE_ENV=production
EXPOSE 3000

5
webapp/.env Normal file
View file

@ -0,0 +1,5 @@
NEXT_PUBLIC_SUPABASE_URL=https://sjbwpyyhoozutdlbvyeq.supabase.co
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=sb_publishable_QJtehIpdc1saILn_XGeXkw_RJC-zvl-
SESSION_SECRET=b2b8c2c12954a50a3e838fb3d7e59a70f85de8e80e32a6a177b8ede34520f5ba
PORT=3000
NODE_ENV=production

1
webapp/.gitignore vendored
View file

@ -1,2 +1 @@
node_modules
.env