From d0c5df17bdc1123560bc977938091586d9cb52dd Mon Sep 17 00:00:00 2001 From: SzamanFL Date: Mon, 15 Jun 2020 15:50:25 +0200 Subject: [PATCH] docker --- Dockerfile | 4 ++++ run.sh | 1 + 2 files changed, 5 insertions(+) create mode 100644 Dockerfile create mode 100644 run.sh diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c70ce1d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM python:3.8.2 +RUN pip install -r /426135-paranormal/req.txt && wget -O /426135-paranormal/geval wget https://gonito.net/get/bin/geval && chmod u+x /426135-paranormal/geval +WORKDIR /426135-paranormal +CMD ['bash', 'run.sh'] diff --git a/run.sh b/run.sh new file mode 100644 index 0000000..753ec2b --- /dev/null +++ b/run.sh @@ -0,0 +1 @@ +./train.py train/in.tsv train/out.tsv && ./geval --test-name dev-0 && ./geval --test-name test-A