Idea
This commit is contained in:
parent
5590a21adb
commit
05e53a3cfe
@ -7,4 +7,4 @@ RUN pip3 install -r requirements.txt
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
CMD [ "python3", "main.py"] #Uncomment to start with the Docker Container
|
CMD [ "python3", "main.py"]
|
||||||
10
Dockerfile_standalone_DiscordScript
Normal file
10
Dockerfile_standalone_DiscordScript
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
FROM python:3.8-buster
|
||||||
|
|
||||||
|
WORKDIR /Praxis
|
||||||
|
|
||||||
|
COPY requirements.txt requirements.txt
|
||||||
|
RUN pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
CMD [ "python3", "discord_script_standalone.py"]
|
||||||
10
Dockerfile_standalone_TwitchScript
Normal file
10
Dockerfile_standalone_TwitchScript
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
FROM python:3.8-buster
|
||||||
|
|
||||||
|
WORKDIR /Praxis
|
||||||
|
|
||||||
|
COPY requirements.txt requirements.txt
|
||||||
|
RUN pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
CMD [ "python3", "twitch_script_standalone.py"]
|
||||||
10
Dockerfile_standalone_command
Normal file
10
Dockerfile_standalone_command
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
FROM python:3.8-buster
|
||||||
|
|
||||||
|
WORKDIR /Praxis
|
||||||
|
|
||||||
|
COPY requirements.txt requirements.txt
|
||||||
|
RUN pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
CMD [ "python3", "standalone_command.py"]
|
||||||
16
docker-compose.yaml
Normal file
16
docker-compose.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
version: '3.7'
|
||||||
|
services:
|
||||||
|
standalone_command:
|
||||||
|
image: standalone_command
|
||||||
|
ports:
|
||||||
|
- 5000:5000
|
||||||
|
environment:
|
||||||
|
- ISDOCKER=cat
|
||||||
|
twitchscript_standalone:
|
||||||
|
image: twitchscript_standalone
|
||||||
|
environment:
|
||||||
|
- ISDOCKER=cat
|
||||||
|
discordscript_standalone:
|
||||||
|
image: discordscript_standalone
|
||||||
|
environment:
|
||||||
|
- ISDOCKER=cat
|
||||||
Loading…
Reference in New Issue
Block a user