Emanuele Mercadante commited on
Commit
f0e608d
·
1 Parent(s): 1ce3fe8
Files changed (1) hide show
  1. Dockerfile +0 -2
Dockerfile CHANGED
@@ -8,12 +8,10 @@ RUN apt-get update && apt-get install -y \
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
  # Imposta le variabili d'ambiente per il token e l'utente
11
- ENV HUGGINGFACE_TOKEN=hf_1234567890abcdef1234567890abcdef12345678
12
  ENV HUGGINGFACE_USER=Rathalos
13
  ENV HUGGINGFACE_REPO=training_incite
14
 
15
  # Clona il repository privato
16
- RUN git clone https://${HUGGINGFACE_TOKEN}@huggingface.co/spaces/${HUGGINGFACE_USER}/${HUGGINGFACE_REPO}.git
17
 
18
  # Copia il file requirements.txt e installa le dipendenze Python
19
  COPY requirements.txt .
 
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
  # Imposta le variabili d'ambiente per il token e l'utente
 
11
  ENV HUGGINGFACE_USER=Rathalos
12
  ENV HUGGINGFACE_REPO=training_incite
13
 
14
  # Clona il repository privato
 
15
 
16
  # Copia il file requirements.txt e installa le dipendenze Python
17
  COPY requirements.txt .