Spaces:
Running
Running
FROM ubuntu:22.04 | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update && \ | |
apt-get install -y lxde wget \ | |
tigervnc-standalone-server git \ | |
tigervnc-common | |
RUN git clone https://github.com/novnc/noVNC.git /opt/noVNC \ | |
&& cd /opt/noVNC \ | |
&& git submodule update --init --recursive | |
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \ | |
&& bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda3 \ | |
&& export PATH="/root/miniconda3/bin:$PATH" \ | |
&& /root/miniconda3/bin/conda init | |
ENV PATH="/root/miniconda3/bin:$PATH" | |
RUN conda config --env --add channels conda-forge \ | |
&& conda config --env --set channel_priority strict | |
RUN conda install gdal -y | |
RUN pip install jupyterlab==4.2.5 tornado==6.2 ipywidgets | |
RUN conda install sqlite -y | |
ENV SHELL=/bin/bash | |
COPY ./start.sh /start.sh | |
RUN chmod +x /start.sh | |
RUN mkdir workspace | |
USER root | |
CMD ["/start.sh"] |