diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3d7879e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +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"] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index aa7b71e..d6cece5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,3 +8,4 @@ cache_to_disk # datasets loguru pandas +agentic_security \ No newline at end of file