dq-simulator / Dockerfile
autodrive's picture
Update Dockerfile
9bae83f verified
Raw History Blame Contribute Delete
516 Bytes
FROM python:3.10-slim
RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /code
COPY --chown=user requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir -r /code/requirements.txt
COPY --chown=user . /code
CMD ["python", "-m", "streamlit", "run", "/code/app.py", \
"--server.port=7860", \
"--server.address=0.0.0.0", \
"--browser.gatherUsageStats=false"]