geas-bot/app/Dockerfile

7 lines
228 B
Docker

FROM python:3.9.6-slim
RUN apt-get update -y && apt-get upgrade -y && apt-get install libopus0 -y
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
CMD python3 -u ./bot.py