mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-06-24 14:19:55 +02:00
16 lines
331 B
Docker
16 lines
331 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
RUN chmod +x /app/agentic_security.py || true
|
|
|
|
EXPOSE 8718
|
|
|
|
# Run the initialization command first, then start the application
|
|
CMD ["sh", "-c", "python -m agentic_security i && python -m agentic_security s"] |