mirror of https://github.com/coddrago/Heroku
Playing around docker containers to add okteto support
parent
7f274602d0
commit
3f40ba8ce6
|
@ -0,0 +1,11 @@
|
|||
ENV TZ=Europe/Moscow
|
||||
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \
|
||||
&& git clone https://github.com/hikariatama/Hikka.git /root/Hikka/ \
|
||||
&& pip3 install --no-cache-dir -r root/Hikka/requirements.txt \
|
||||
&& pip3 install av --no-binary av
|
||||
|
||||
WORKDIR /root/Hikka/
|
||||
|
||||
# start the bot
|
||||
CMD ["python3", "-m", "hikka", "--root"]
|
|
@ -0,0 +1,8 @@
|
|||
version: "3.9"
|
||||
services:
|
||||
worker:
|
||||
build: .
|
||||
environment:
|
||||
SESSION: $SESSION
|
||||
API_ID: $API_ID
|
||||
API_HASH: $API_HASH
|
Loading…
Reference in New Issue