alnoda-workspaces/workspaces/streamlit-workspace/Dockerfile
2022-05-23 16:13:15 +00:00

26 lines
631 B
Docker

ARG docker_registry=docker.io/alnoda
ARG image_tag=2.2-3.8
FROM ${docker_registry}/python-workspace:${image_tag}
USER root
COPY mkdocs /home/docs
COPY docs/getting-started.md /home/docs/docs/getting-started.md
COPY streamlit /home/abc/.streamlit
RUN echo "------------------------------------------------------ streamlit" \
&& pip install streamlit==1.9.0 \
&& echo "------------------------------------------------------ user" \
&& rm -rf /home/examples \
&& find /home -type d | xargs -I{} chown -R abc {} \
&& find /home -type f | xargs -I{} chown abc {}
COPY examples /home/examples
USER abc