Added a Dockerfile (in testing)

This commit is contained in:
Mathieu 2021-10-10 13:40:00 +02:00
parent cf448f624c
commit 8664590aeb

19
Dockerfile Normal file
View File

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