Spaces:
Paused
Paused
gghfds commited on
Update Dockerfile
Browse files- Dockerfile +22 -1
Dockerfile
CHANGED
|
@@ -1,4 +1,25 @@
|
|
| 1 |
-
FROM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
COPY ./start.sh /start.sh
|
| 3 |
RUN chmod +x /start.sh
|
|
|
|
| 4 |
CMD ["/start.sh"]
|
|
|
|
| 1 |
+
FROM ubuntu:22.04
|
| 2 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
| 3 |
+
|
| 4 |
+
RUN apt-get update && \
|
| 5 |
+
apt-get install -y lxde wget \
|
| 6 |
+
tigervnc-standalone-server git \
|
| 7 |
+
tigervnc-common
|
| 8 |
+
RUN git clone https://github.com/novnc/noVNC.git /opt/noVNC \
|
| 9 |
+
&& cd /opt/noVNC \
|
| 10 |
+
&& git submodule update --init --recursive
|
| 11 |
+
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
|
| 12 |
+
&& bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda3 \
|
| 13 |
+
&& export PATH="/root/miniconda3/bin:$PATH" \
|
| 14 |
+
&& /root/miniconda3/bin/conda init
|
| 15 |
+
ENV PATH="/root/miniconda3/bin:$PATH"
|
| 16 |
+
RUN conda config --env --add channels conda-forge \
|
| 17 |
+
&& conda config --env --set channel_priority strict
|
| 18 |
+
RUN conda install gdal -y
|
| 19 |
+
RUN pip install jupyterlab==4.2.5 tornado==6.2 ipywidgets
|
| 20 |
+
RUN conda install sqlite -y
|
| 21 |
+
ENV SHELL=/bin/bash
|
| 22 |
COPY ./start.sh /start.sh
|
| 23 |
RUN chmod +x /start.sh
|
| 24 |
+
RUN mkdir workspace
|
| 25 |
CMD ["/start.sh"]
|