T2 / Dockerfile
Niansuh1's picture
Create Dockerfile
e2fe4f2 verified
raw
history blame contribute delete
339 Bytes
# Hugging Face Spaces Dockerfile
# Uses pre-built image from Docker Hub
FROM niansuh/test:v122
# Hugging Face Spaces runs on port 7860
ENV PORT=7860
# Set environment variables (these will be overridden by HF Secrets)
ENV NODE_ENV=production
# Expose port for Hugging Face
EXPOSE 7860
# Start the application
CMD ["python", "main.py"]