From 93aa94e5e74a3d389936c26d4e78e5998e84add0 Mon Sep 17 00:00:00 2001 From: askiiart Date: Tue, 29 Aug 2023 15:32:22 -0500 Subject: [PATCH] Add testing stuff --- testing/Dockerfile | 4 ++++ testing/run.sh | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 testing/Dockerfile create mode 100755 testing/run.sh diff --git a/testing/Dockerfile b/testing/Dockerfile new file mode 100644 index 0000000..7cb13b8 --- /dev/null +++ b/testing/Dockerfile @@ -0,0 +1,4 @@ +FROM python:latest +WORKDIR /data +COPY ./run.sh /data/ +CMD /data/run.sh \ No newline at end of file diff --git a/testing/run.sh b/testing/run.sh new file mode 100755 index 0000000..8c9c0e4 --- /dev/null +++ b/testing/run.sh @@ -0,0 +1,8 @@ +#!/bin/bash +set -e +cd /data +git clone https://github.com/7trail/AlwaysDungeons +cd /data/AlwaysDungeons +pip3 install -r requirements +cp /data/.env /data/AlwaysDungeons/.env +python3 main.py \ No newline at end of file