Defined specific version number for image
Later images break wheel again.
This commit is contained in:
parent
42cf3afcb4
commit
f5097a9d2d
@ -1,7 +1,7 @@
|
|||||||
FROM python:slim
|
FROM python:3.9.6-slim
|
||||||
COPY . /usr/src/app
|
COPY . /usr/src/app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
RUN apt-get update -y && apt-get upgrade -y && apt-get install libopus0 -y && \
|
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
|
apt-get autoremove -y
|
||||||
CMD python3 -u ./bot.py
|
CMD python3 -u ./bot.py
|
Loading…
Reference in New Issue
Block a user