alanwang2001 commited on
Commit
0623905
·
1 Parent(s): 4627ba8

fix Dockerfile COPY paths

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -2,10 +2,10 @@ FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
 
5
- COPY server/requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
- COPY server/server.py .
9
 
10
  ENV HF_HOME=/tmp/hf_cache
11
  ENV TRANSFORMERS_CACHE=/tmp/hf_cache/hub
 
2
 
3
  WORKDIR /app
4
 
5
+ COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
+ COPY server.py .
9
 
10
  ENV HF_HOME=/tmp/hf_cache
11
  ENV TRANSFORMERS_CACHE=/tmp/hf_cache/hub