Commit eef1b8fb authored by Arman Khalatyan's avatar Arman Khalatyan
Browse files

Update Dockerfile

parent e0d8fd9b
# base image
FROM python:3.7
USER root
#Upgrade pip
RUN pip install --upgrade pip
# copy over and install packages
COPY requirements.txt ./requirements.txt
RUN pip install -r requirements.txt
# streamlit-specific commands
RUN mkdir -p /root/.streamlit
RUN bash -c 'echo -e "\
......@@ -15,10 +23,6 @@ enableCORS = false\n\
# exposing default port for streamlit
EXPOSE 8501
# copy over and install packages
COPY requirements.txt ./requirements.txt
RUN pip3 install -r requirements.txt
# copying everything over
COPY . .
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment