Add testing stuff

This commit is contained in:
askiiart 2023-08-29 15:32:22 -05:00
parent c99da38a57
commit 93aa94e5e7
No known key found for this signature in database
GPG key ID: 66BA0F77DCABF974
2 changed files with 12 additions and 0 deletions

4
testing/Dockerfile Normal file
View file

@ -0,0 +1,4 @@
FROM python:latest
WORKDIR /data
COPY ./run.sh /data/
CMD /data/run.sh

8
testing/run.sh Executable file
View file

@ -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