talos-access / backend /Dockerfile
Greg
Claude Opus 4.7 (1M context)
fix(ta-01): use libmagic1 apt + python-magic for Linux container
a965311
Raw History Blame Contribute Delete
410 Bytes
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
python3-venv \
cmake \
build-essential \
tzdata \
libmagic1 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip3 install --no-cache-dir --break-system-packages -r requirements.txt
COPY . .
RUN chmod +x /app/entrypoint.sh
EXPOSE 8000
CMD ["/app/entrypoint.sh"]