Spaces:
Sleeping
Sleeping
fix(deploy): Dockerfile copies entire backend
Browse files- 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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|