cgd-ui / Dockerfile
myshirk's picture
change port
7eaf4dc verified
raw
history blame
301 Bytes
FROM python:3.9-slim
RUN useradd -m user
USER user
ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt
CMD sh -c "streamlit run app.py --server.address=0.0.0.0 --server.port=\${PORT:-8501}"