cnn-classification-service/Dockerfile

15 lines
408 B
Docker
Raw Normal View History

2020-08-06 16:25:48 +02:00
FROM python:3.8
2020-07-27 18:18:26 +02:00
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
2020-08-06 16:25:48 +02:00
ENTRYPOINT ["python3", "main.py"]