cnn-classification-service/Dockerfile
marcsello 2cae318d1d
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Moved to python base image
2020-08-06 16:25:48 +02:00

15 lines
408 B
Docker

FROM python:3.8
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"]