FROM python:3.10 RUN python -m pip install git+https://github.com/Rapptz/discord.py aiohttp websocket-client WORKDIR /app ENV TZ=Europe/Moscow ENV PYTHONUNBUFFERED 1 RUN mkdir /home/service && \ cp /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \ dpkg-reconfigure -f noninteractive tzdata ARG BUILDDATE ENV BUILDDATE $BUILDDATE RUN echo $BUILDDATE && cd /tmp && git clone https://git.pblr-nyk.pro/gsd/Facti13.Bot.Discord.V2 && cp -a Facti13.Bot.Discord.V2/. /app && rm -r Facti13.Bot.Discord.V2 ENTRYPOINT ["python", "bot.py"]