Files
chatgpt-telegram-bot/Dockerfile
2023-03-18 22:53:04 +01:00

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"]