mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-24 09:02:28 +00:00
9f6a6f5ecd
* Added conversion plugins (API might change!) * Added conversion to the analysis pipeline * Changed behaviour of --default-plugins (it adds conversion plugins regardless) * Added emotionModel [sic] and emotionConversion models //TODO add conversion tests //TODO add conversion to docs
21 lines
446 B
Groff
21 lines
446 B
Groff
FROM python:3.5
|
|
|
|
RUN mkdir /cache/
|
|
ENV PIP_CACHE_DIR=/cache/
|
|
|
|
WORKDIR /usr/src/app
|
|
ADD requirements.txt /usr/src/app/
|
|
RUN pip install --use-wheel -r requirements.txt
|
|
ADD . /usr/src/app/
|
|
RUN pip install .
|
|
|
|
|
|
VOLUME /data/
|
|
|
|
RUN mkdir /senpy-plugins/
|
|
|
|
WORKDIR /senpy-plugins/
|
|
ONBUILD ADD . /senpy-plugins/
|
|
ONBUILD RUN python -m senpy --only-install -f /senpy-plugins
|
|
|
|
ENTRYPOINT ["python", "-m", "senpy", "-f", "/senpy-plugins/", "--host", "0.0.0.0"] |