diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..8f8d7cb97e0fc760577555b40dabe98a98c6de76 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +# syntax=docker/dockerfile:1 +FROM ubuntu:20.04 + +RUN apt-get update -y && \ + apt-get install -y python3-pip python-dev + +COPY . /app + +WORKDIR /app + +RUN pip install -r requirements.txt + +EXPOSE 5000 + +ENTRYPOINT [ "python3" ] + +CMD [ "run.py" ] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 04e9dea4a6513e558148d8487979fa31ca293eb1..50f7044183f8b07c3f9b60217b6f1d850f6db929 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,12 +11,11 @@ click==7.1.2 colorama==0.4.4 cycler==0.10.0 decorator==4.4.2 -deeplabcutcore @ git+https://github.com/DeepLabCut/DeepLabCut-core@4e57a0c2709f5e6cce9ac7ab798a8a14e508b9cc easydict==1.9 Flask==1.1.2 Flask-Bcrypt==0.7.1 -Flask-JWT==0.3.2 Flask-JWT-Extended==3.25.0 +Flask-Limiter==1.4 Flask-RESTful==0.3.8 Flask-SQLAlchemy==2.4.4 flatbuffers==1.12 @@ -27,6 +26,7 @@ google-pasta==0.2.0 grpcio==1.32.0 h5py==2.10.0 idna==2.10 +image-encoder==0.0.8 imageio==2.9.0 imageio-ffmpeg==0.4.3 imgaug==0.4.0 @@ -42,7 +42,6 @@ Keras-Preprocessing==1.1.2 kiwisolver==1.3.1 Markdown==3.3.3 MarkupSafe==1.1.1 -matplotlib==3.0.3 moviepy==1.0.1 msgpack==1.0.2 msgpack-numpy==0.4.7.1 @@ -66,7 +65,7 @@ pyasn1==0.4.8 pyasn1-modules==0.2.8 pycparser==2.20 Pygments==2.8.0 -PyJWT==1.5.0 +PyJWT==1.6.4 pyparsing==2.4.7 python-dateutil==2.8.1 pytz==2021.1 @@ -87,11 +86,6 @@ SQLAlchemy==1.3.23 statsmodels==0.12.2 tables==3.6.1 tabulate==0.8.7 -tensorboard==2.4.1 -tensorboard-plugin-wit==1.8.0 -tensorflow-estimator==2.4.0 -tensorflow-gpu==2.4.1 -tensorpack==0.11 termcolor==1.1.0 tf-slim==1.1.0 threadpoolctl==2.1.0 @@ -104,6 +98,4 @@ wcwidth==0.2.5 Werkzeug==1.0.1 wrapt==1.12.1 zipp==3.4.0 - -WTForms~=2.3.3 -deeplabcutcore~=0.0b3 \ No newline at end of file +WTForms~=2.3.3 \ No newline at end of file