Bloging / Dockerfile
understanding's picture
Update Dockerfile
7f5fe27 verified
raw
history blame contribute delete
269 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY . /app
# Install essential tools
RUN apt-get update && apt-get install -y iproute2 curl unzip && \
rm -rf /var/lib/apt/lists/* && \
pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
CMD ["python", "-m", "bot"]