From 8664590aeb17fb09f39751b0a9c58aca84d17ecf Mon Sep 17 00:00:00 2001 From: Mathieu Date: Sun, 10 Oct 2021 13:40:00 +0200 Subject: [PATCH] Added a Dockerfile (in testing) --- Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2e4db1c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +# THIS IS ONLY A TEST, NOT READY FOR PRODUCTION + +FROM ubuntu:21.04 + +ENV DEBIAN_FRONTEND=noninteractive + +WORKDIR /jarvis-server + +RUN apt update && apt upgrade -y + +RUN apt install python3.9 python3-pip python3.9-dev python3.9-distutils python3-fann2 libfann-dev swig git python3-levenshtein -y + +RUN git clone --progress --verbose https://github.com/M4TH1EU/jarvis-server.git . + +RUN python3 -m pip install -r requirements.txt + +EXPOSE 5000 + +ENTRYPOINT ["python3", "run.py"] \ No newline at end of file