Defined specific version number for image

Later images break wheel again.
This commit is contained in:
Vivek Santayana 2022-01-21 21:37:24 +00:00
parent 42cf3afcb4
commit f5097a9d2d

View File

@ -1,7 +1,7 @@
FROM python:slim
FROM python:3.9.6-slim
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN apt-get update -y && apt-get upgrade -y && apt-get install libopus0 -y && \
pip install --upgrade pip && pip install -r requirements.txt && \
pip install --upgrade pip setuptools wheel && pip install -r requirements.txt && \
apt-get autoremove -y
CMD python3 -u ./bot.py