cnn-classification-service/Dockerfile

14 lines
440 B
Docker
Raw Normal View History

2020-07-27 18:18:26 +02:00
FROM registry.kmlabz.com/birbnetes/ai-base-image
RUN apt update && apt install -y libsndfile1-dev libsndfile1 && apt clean
ENV PIP_NO_CACHE_DIR=true
ENV TZ Europe/Budapest
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ADD cnn_classification_service requirements.txt /cnn_classification_service/
WORKDIR /cnn_classification_service/
RUN pip3 install -r requirements.txt
ENTRYPOINT ["python3", "main.py"]