Commit 0fb8ac2d authored by Yoann HOUPERT's avatar Yoann HOUPERT

Add dockerisation of server

parent 6e00c254
FROM debian:9
MAINTAINER Yoann Houpert <yhoupert@linagora.com>
RUN apt-get update &&\
apt-get install -y \
sox \
python2.7 \
python-pip &&\
apt-get clean
ENV BASE_DIR /opt/speech-to-text
WORKDIR $BASE_DIR
COPY . .
COPY modules/server/server.cfg .
RUN pip install -r modules/server/requirements.txt
EXPOSE 8888
CMD ./modules/server/master_server.py
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment