Wiz / Dockerfile
D3AMON's picture
Initial: Wiz bot with 17 free APIs
f97581c
Raw History Blame Contribute Delete
431 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install system deps
RUN apt-get update && apt-get install -y \
curl \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements first for layer caching
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app code
COPY . .
# HF Spaces requires a process listening on port 7860
EXPOSE 7860
# Start both the health server and the bot
CMD ["python", "main.py"]