File size: 367 Bytes
56dfb72
 
 
 
 
 
 
 
71d4e23
56dfb72
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM node:20-alpine

# Installa git (necessario su Alpine)
RUN apk add --no-cache git

WORKDIR /app

# Clona il repository direttamente nella cartella /app
RUN git clone https://github.com/qwertyuiop8899/SelfStream .

# Installa le dipendenze
RUN npm install

# HF usa la porta 7860
ENV PORT=7860
EXPOSE 7860

# Compila l'addon
RUN npm run build

CMD ["npm", "start"]