Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion testservers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ RUN pip install --no-cache-dir .
COPY start-server.sh .
RUN chmod +x start-server.sh

# Create non-root user
RUN groupadd -r appuser && useradd -r -g appuser appuser
RUN chown -R appuser:appuser /app
USER appuser

# Environment variables for configuration
ENV MCP_HOST=0.0.0.0

Expand All @@ -20,4 +25,4 @@ EXPOSE 8000 8010 8020

# Run all servers (SERVER_TYPE=all runs PII, Tool Poisoning, and Rug Pull servers)
ENV SERVER_TYPE=all
CMD ["./start-server.sh"]
CMD ["./start-server.sh"]
Loading