kopia lustrzana https://codeberg.org/pluja/openai-telegram-bot
14 wiersze
280 B
Docker
14 wiersze
280 B
Docker
FROM python:3.10-slim
|
|
|
|
RUN apt update && apt install -y ffmpeg libespeak1
|
|
WORKDIR /app
|
|
|
|
COPY ./main.py /app
|
|
COPY ./database.py /app
|
|
COPY ./requirements.txt /app
|
|
|
|
RUN mkdir db_data
|
|
|
|
RUN pip install --upgrade pip
|
|
RUN pip install -r requirements.txt
|
|
CMD [ "python3", "/app/main.py" ] |