14 lines
440 B
Docker
14 lines
440 B
Docker
|
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"]
|