DPZC-5/dockerfile

15 lines
266 B
Plaintext
Raw Normal View History

2023-01-22 17:30:58 +01:00
FROM ubuntu:latest
2023-01-30 10:46:15 +01:00
COPY api.py requirements.txt ./
2023-01-22 17:30:58 +01:00
RUN apt-get update -y
RUN apt-get install -y libgl1-mesa-glx
RUN apt-get install -y tesseract-ocr-pol
RUN apt-get install -y python3-pip
2023-01-30 10:46:15 +01:00
EXPOSE 80:8000/tcp
RUN pip install -r requirements.txt
2023-01-22 17:30:58 +01:00
2023-01-30 10:46:15 +01:00
CMD python api.py
2023-01-22 17:30:58 +01:00