streamlit_frontend / Dockerfile
Vela
modified dockerfile
9a8febd
raw
history blame
427 Bytes
FROM python:3.9
# RUN useradd -m -u 1000 user
# USER user
ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /code
COPY . /code
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
COPY --chown=user ./requirements.txt requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
EXPOSE 7860
CMD ["streamlit", "run", "app/app.py", "--server.port=7860", "--server.address=0.0.0.0"]