ai_advisor / Dockerfile
rodrigomasini's picture
Duplicate from bondares/ai_advisor
b1f727f
raw
history blame contribute delete
480 Bytes
FROM python:3.7.4-stretch
WORKDIR /home/user
RUN apt-get update && apt-get install -y curl git pkg-config cmake
# copy code
COPY setup.py /home/user
COPY utils.py /home/user
COPY app.py /home/user
COPY requirements.txt /home/user
# install as a package
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN python3 -c "from utils import get_pipelines;get_pipelines()"
EXPOSE 8501
# cmd for running the API
CMD ["python", "-m", "streamlit", "run", "app.py"]