mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2026-01-26 16:25:55 +01:00
14 lines
280 B
Docker
14 lines
280 B
Docker
FROM python:3.10-slim
|
|
|
|
RUN apt-get update && \
|
|
apt-get install ffmpeg -y && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN useradd -m appuser
|
|
USER appuser
|
|
WORKDIR /home/appuser/app
|
|
|
|
COPY --chown=appuser . .
|
|
RUN pip install -r requirements.txt --no-cache-dir
|
|
|
|
CMD ["python", "main.py"] |