Added docker and k8s stuff
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
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"]
|
Reference in New Issue
Block a user