sewter / Dockerfile
UNUSUALxd's picture
Update Dockerfile
632a085 verified
Raw
History Blame Contribute Delete
386 Bytes
FROM python:3.11-slim
# Install core Linux tools
RUN apt-get update && apt-get install -y \
curl \
wget \
procps \
nano \
htop \
iputils-ping \
git \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Required by Hugging Face Spaces
EXPOSE 7860
CMD ["python", "bot.py"]