Executor-Tyrant-Framework commited on
Commit
c46fb41
·
verified ·
1 Parent(s): cb8a116

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -42
Dockerfile DELETED
@@ -1,42 +0,0 @@
1
- # Dockerfile for Clawdbot Dev Assistant
2
- FROM python:3.11-slim
3
-
4
- # Force rebuild
5
- ENV REBUILD_DATE=2025-01-31-v3
6
- WORKDIR /app
7
-
8
- # Install system dependencies
9
- RUN apt-get update && apt-get install -y git build-essential curl && rm -rf /var/lib/apt/lists/*
10
-
11
- # Install python requirements
12
- COPY requirements.txt .
13
- RUN pip install --no-cache-dir -r requirements.txt
14
-
15
- # Create workspace and storage directories
16
- RUN mkdir -p /workspace/e-t-systems /workspace/chroma_db /data/chroma_db /tmp/.cache/huggingface /tmp/.cache/chroma
17
-
18
- # Set environment variables for writable cache locations
19
- ENV HF_HOME=/tmp/.cache/huggingface
20
- ENV XDG_CACHE_HOME=/tmp/.cache
21
- ENV CHROMA_CACHE_DIR=/tmp/.cache/chroma
22
- ENV HOME=/tmp
23
- ENV PYTHONUNBUFFERED=1
24
- ENV REPO_PATH=/workspace/e-t-systems
25
-
26
- # Copy application files
27
- COPY recursive_context.py .
28
- COPY app.py .
29
- COPY entrypoint.sh .
30
-
31
- # Ensure permissions for the non-root Space user (UID 1000)
32
- RUN chmod +x entrypoint.sh && \
33
- chown -R 1000:1000 /app /workspace /tmp/.cache
34
-
35
- # Correctly expose port
36
- EXPOSE 7860
37
-
38
- # Switch to the Hugging Face Space user
39
- USER 1000
40
-
41
- # Launch
42
- CMD ["./entrypoint.sh"]