lymnal commited on
Commit
8eac0b6
·
verified ·
1 Parent(s): a0e0593

fix(deploy): Dockerfile copies entire backend

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -15,7 +15,11 @@ WORKDIR /app
15
  COPY requirements.txt .
16
  RUN pip install --no-cache-dir -r requirements.txt
17
 
18
- COPY main.py model.py research.py ./
 
 
 
 
19
 
20
  RUN mkdir -p /app/.cache/huggingface && chmod -R 777 /app/.cache
21
 
 
15
  COPY requirements.txt .
16
  RUN pip install --no-cache-dir -r requirements.txt
17
 
18
+ # Copy all backend modules (.dockerignore excludes __pycache__, .venv, etc.):
19
+ # main.py, model.py, research.py, refusal_pairs.py, over_refusal_pairs.py
20
+ # refusal_bench/ (the bench harness + 6 techniques + harmfulness probe)
21
+ # scripts/ (the data build scripts; not invoked at runtime but committed)
22
+ COPY . .
23
 
24
  RUN mkdir -p /app/.cache/huggingface && chmod -R 777 /app/.cache
25