mirror of
http://forgejo-oa09toasww4dgii9cj3gpzda.187.127.164.61.sslip.io/iamcoolvivek007/bharath.git
synced 2026-06-11 00:06:51 +00:00
Add .env file with Supabase credentials for deployment
This commit is contained in:
parent
2d695c6090
commit
3af6dcacdf
3 changed files with 6 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ COPY webapp/package.json webapp/package-lock.json ./
|
||||||
RUN npm ci --omit=dev
|
RUN npm ci --omit=dev
|
||||||
|
|
||||||
COPY webapp/src ./src
|
COPY webapp/src ./src
|
||||||
|
COPY webapp/.env ./.env
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
|
||||||
5
webapp/.env
Normal file
5
webapp/.env
Normal 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
1
webapp/.gitignore
vendored
|
|
@ -1,2 +1 @@
|
||||||
node_modules
|
node_modules
|
||||||
.env
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue