18 lines
356 B
Docker
18 lines
356 B
Docker
FROM python:3.9-slim-buster
|
|
|
|
WORKDIR /musicube
|
|
COPY . .
|
|
|
|
RUN apt-get -y update
|
|
RUN apt-get install -y ffmpeg
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
|
|
ARG GIT_COMMIT=unset
|
|
ARG DISCORD_BOT_TOKEN=unset
|
|
ARG YOUTUBE_COOKIES=unset
|
|
ENV DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN} YOUTUBE_COOKIES=${YOUTUBE_COOKIES} GIT_COMMIT=${GIT_COMMIT}
|
|
|
|
CMD ["python", "src/bot.py"]
|