From 05e53a3cfe46467580205a7c1b10f570c4b760c3 Mon Sep 17 00:00:00 2001 From: Alex Orid Date: Wed, 21 Apr 2021 21:05:11 -0400 Subject: [PATCH] Idea --- Dockerfile | 2 +- Dockerfile_standalone_DiscordScript | 10 ++++++++++ Dockerfile_standalone_TwitchScript | 10 ++++++++++ Dockerfile_standalone_command | 10 ++++++++++ docker-compose.yaml | 16 ++++++++++++++++ 5 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 Dockerfile_standalone_DiscordScript create mode 100644 Dockerfile_standalone_TwitchScript create mode 100644 Dockerfile_standalone_command create mode 100644 docker-compose.yaml diff --git a/Dockerfile b/Dockerfile index 3f7084b..be856a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,4 @@ RUN pip3 install -r requirements.txt COPY . . -CMD [ "python3", "main.py"] #Uncomment to start with the Docker Container \ No newline at end of file +CMD [ "python3", "main.py"] \ No newline at end of file diff --git a/Dockerfile_standalone_DiscordScript b/Dockerfile_standalone_DiscordScript new file mode 100644 index 0000000..c25b1f0 --- /dev/null +++ b/Dockerfile_standalone_DiscordScript @@ -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"] \ No newline at end of file diff --git a/Dockerfile_standalone_TwitchScript b/Dockerfile_standalone_TwitchScript new file mode 100644 index 0000000..02056ff --- /dev/null +++ b/Dockerfile_standalone_TwitchScript @@ -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"] \ No newline at end of file diff --git a/Dockerfile_standalone_command b/Dockerfile_standalone_command new file mode 100644 index 0000000..c0e9965 --- /dev/null +++ b/Dockerfile_standalone_command @@ -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"] \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..02d31c4 --- /dev/null +++ b/docker-compose.yaml @@ -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 \ No newline at end of file