22 lines
304 B
Docker
22 lines
304 B
Docker
FROM python:3.12.10-alpine
|
|
RUN apk add --no-cache \
|
|
ffmpeg \
|
|
opus \
|
|
opus-dev \
|
|
build-base \
|
|
libffi-dev \
|
|
openssl-dev \
|
|
musl-dev \
|
|
python3-dev
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY requirements.txt ./
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
CMD python bot.py
|
|
|