shivam413 commited on
Commit
06105c5
·
verified ·
1 Parent(s): e1837b2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -20,12 +20,12 @@ RUN yarn build
20
  FROM node:21.0-alpine AS runner
21
  WORKDIR /app
22
 
 
 
23
  # Default envs (override in Space settings)
24
  ENV SITE_NAME="Web-SyncPlay"
25
- # Set this in Space settings to your Space URL, e.g. https://your-username-web-syncplay.hf.space
26
- ENV PUBLIC_DOMAIN="shivam413-Streamer.hf.space"
27
- # Use a managed Redis URL (e.g. Upstash) set in Space settings
28
- ENV REDIS_URL="redis://default:S5BoZJYMmACrcbLH7HpPZC4fpV0mNWHR@redis-18916.c309.us-east-2-1.ec2.redns.redis-cloud.com:18916"
29
 
30
  # Hugging Face Spaces expects your app to listen on $PORT (default 7860)
31
  ENV PORT=7860
 
20
  FROM node:21.0-alpine AS runner
21
  WORKDIR /app
22
 
23
+ ENV NODE_ENV=production
24
+
25
  # Default envs (override in Space settings)
26
  ENV SITE_NAME="Web-SyncPlay"
27
+ # IMPORTANT: include the scheme. Replace with your actual Space URL.
28
+ ENV PUBLIC_DOMAIN="https://shivam413-Streamer.hf.space"
 
 
29
 
30
  # Hugging Face Spaces expects your app to listen on $PORT (default 7860)
31
  ENV PORT=7860