mlops / Dockerfile
Emil25's picture
Update Dockerfile
4ac3f79 verified
raw
history blame
352 Bytes
FROM python:3.10
EXPOSE 8501
USER root
WORKDIR /app
COPY . .
RUN chmod -R 777 /app
RUN apt-get update && \
apt-get install -y python3-pip python3-venv
RUN python3 -m venv /app/venv
ENV PATH="/app/venv/bin:$PATH"
RUN pip install --upgrade pip && \
pip install --no-cache-dir --upgrade -r /app/requirements.txt
CMD streamlit run main.py