rfp_telegram_bot_old / Dockerfile
cevheri's picture
Update Dockerfile
2679f71 verified
raw
history blame contribute delete
295 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# huggingface specific port
EXPOSE 7860
# Start the bot and keep the container alive(idk it is working or not)
CMD ["sh", "-c", "python bot_telegram.py & tail -f /dev/null"]