FROM python:3.8

RUN pip install python-crfsuite
RUN pip install tornado
RUN pip install jellyfish

# Create app directory and copy sources
RUN mkdir /opt/crf
COPY . /opt/crf
WORKDIR /opt/crf

# expose ports and run services
# English,French Models
EXPOSE 8085
EXPOSE 8086

ENTRYPOINT [ "python3", "run.py", "config.json"]
