Update python interpreter version in dockerfile
This commit is contained in:
12
Dockerfile
12
Dockerfile
@ -1,10 +1,10 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM python:3.13.7-slim-buster
|
||||
|
||||
RUN apt-get update -y && apt-get install -y ffmpeg libopus0
|
||||
|
||||
FROM python:3.10.1-slim-buster
|
||||
RUN apt-get update -y
|
||||
RUN apt-get install -y ffmpeg libopus0
|
||||
WORKDIR /app
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN pip3 install -r requirements.txt
|
||||
COPY . .
|
||||
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
CMD ["python3", "-u", "bot.py"]
|
||||
|
||||
Reference in New Issue
Block a user