MrzOCR / Dockerfile
cadyderwin's picture
Update Dockerfile
1df3338 verified
raw
history blame contribute delete
386 Bytes
FROM python:3.8-slim
WORKDIR /home/opymrz
COPY ./opymrz.py .
COPY ./app.py .
COPY ./demo.py .
COPY ./requirements.txt .
COPY ./run.sh .
COPY ./arial.ttf .
COPY ./examples ./examples
COPY ./model ./model
COPY ./lib/libopymrz.so ./lib/libopymrz.so
COPY ./lib/libopymrzenv.so ./lib/libopymrzenv.so
RUN pip3 install -r requirements.txt
RUN chmod a+x run.sh
CMD ["./run.sh"]
EXPOSE 9000 7860