mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-24 08:05:06 +01:00
14 lines
283 B
Docker
14 lines
283 B
Docker
FROM python:3.9-alpine
|
|
|
|
ENV PYTHONFAULTHANDLER=1 \
|
|
PYTHONUNBUFFERED=1 \
|
|
PYTHONDONTWRITEBYTECODE=1 \
|
|
PIP_DISABLE_PIP_VERSION_CHECK=on
|
|
|
|
RUN apk --no-cache add ffmpeg
|
|
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN pip install -r requirements.txt --no-cache-dir
|
|
|
|
CMD ["python", "bot/main.py"] |