Rathalos commited on
Commit
79a1bd5
·
verified ·
1 Parent(s): fd1547e
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 /app
17
  WORKDIR /app
18
 
19
  # Copia il file requirements.txt e installa le dipendenze Python
 
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
  WORKDIR /app
16
 
17
  # Copia il file requirements.txt e installa le dipendenze Python