Mimi commited on
Commit
56b0032
·
1 Parent(s): 974ec25

dockers fixed

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -2,11 +2,11 @@ FROM python:3.12
2
 
3
  # Add user
4
  RUN useradd -m -u 1000 user
5
- WORKDIR $HOME/app
6
 
7
  COPY --chown=user . $HOME/app
8
  # Install system dependencies and requirements
9
- RUN pip install --no-cache-dir -r $HOME/app/requirements.txt &&\
10
  huggingface-cli login --token $HF_TOKEN
11
 
12
  USER user
 
2
 
3
  # Add user
4
  RUN useradd -m -u 1000 user
5
+ WORKDIR /app
6
 
7
  COPY --chown=user . $HOME/app
8
  # Install system dependencies and requirements
9
+ RUN pip install --no-cache-dir -r app/requirements.txt && \
10
  huggingface-cli login --token $HF_TOKEN
11
 
12
  USER user