standalone twitch pubsub
This commit is contained in:
parent
941324d637
commit
2034e6e907
11
Dockerfile_standalone_Twitch_Pubsub
Normal file
11
Dockerfile_standalone_Twitch_Pubsub
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
FROM python:3.10.0a7-alpine3.13
|
||||||
|
|
||||||
|
WORKDIR /Praxis
|
||||||
|
|
||||||
|
COPY requirements_sa_twitch_pubsub.txt requirements_sa_twitch_pubsub.txt
|
||||||
|
RUN apk add --update gcc libc-dev linux-headers && rm -rf /var/cache/apk/*
|
||||||
|
RUN pip3 install -r requirements_sa_twitch_pubsub.txt
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
CMD [ "python3", "standalone_twitch_pubsub.py"]
|
||||||
@ -10,6 +10,10 @@ services:
|
|||||||
image: standalone_twitchscript
|
image: standalone_twitchscript
|
||||||
environment:
|
environment:
|
||||||
- ISDOCKER=cat
|
- ISDOCKER=cat
|
||||||
|
standalone_twitch_pubsub:
|
||||||
|
image: standalone_twitch_pubsub
|
||||||
|
environment:
|
||||||
|
- ISDOCKER=cat
|
||||||
discordscript_standalone:
|
discordscript_standalone:
|
||||||
image: standalone_discordscript
|
image: standalone_discordscript
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
docker build --file Dockerfile_standalone_command --tag standalone_command .
|
docker build --file Dockerfile_standalone_command --tag standalone_command .
|
||||||
docker build --file Dockerfile_standalone_DiscordScript --tag standalone_discordscript .
|
docker build --file Dockerfile_standalone_DiscordScript --tag standalone_discordscript .
|
||||||
docker build --file Dockerfile_standalone_TwitchScript --tag standalone_twitchscript .
|
docker build --file Dockerfile_standalone_TwitchScript --tag standalone_twitchscript .
|
||||||
|
docker build --file Dockerfile_standalone_Twitch_Pubsub --tag standalone_twitch_pubsub .
|
||||||
4
requirements_sa_twitch_pubsub.txt
Normal file
4
requirements_sa_twitch_pubsub.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
twitch-python
|
||||||
|
psutil
|
||||||
|
art
|
||||||
|
requests
|
||||||
@ -8,7 +8,7 @@ class Twitch_Pubsub():
|
|||||||
super().__init__()
|
super().__init__()
|
||||||
self.twitchCredential: credentials.Twitch_Credential
|
self.twitchCredential: credentials.Twitch_Credential
|
||||||
|
|
||||||
def main():
|
def main(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user