Spaces:
Build error
Build error
File size: 324 Bytes
e1c1254 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
const express = require('express');
const app = express();
// Hugging Face strictly expects Port 7860
const port = 7860;
app.get('/', (req, res) => {
res.send('Hello Treyvon! Your Docker app is running live on Hugging Face.');
});
app.listen(port, () => {
console.log(`App listening at http://localhost:${port}`);
});
|