ai-hacking-team / Dockerfile
kirimdata369's picture
Deploy AI Hacking Team C2 Server
c137da2 verified
Raw History Blame Contribute Delete
388 Bytes
# Use the official Python image
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Copy requirements
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application
COPY . .
# Expose the default port for Hugging Face Spaces
EXPOSE 7860
ENV PORT=7860
# Run the FastAPI server
CMD ["python", "server.py"]