Spaces:
Paused
Paused
gghfds
commited on
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -11,13 +11,13 @@ RUN apt-get update && \
|
|
| 11 |
RUN git clone https://github.com/novnc/noVNC.git /opt/noVNC \
|
| 12 |
&& cd /opt/noVNC \
|
| 13 |
&& git submodule update --init --recursive
|
| 14 |
-
|
| 15 |
# Install Miniconda
|
| 16 |
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
|
| 17 |
-
&& bash Miniconda3-latest-Linux-x86_64.sh -b -p
|
| 18 |
|
| 19 |
# Ensure Conda is on PATH and properly initialized
|
| 20 |
-
ENV PATH="/
|
| 21 |
|
| 22 |
# Initialize Conda and configure environment
|
| 23 |
RUN conda init bash \
|
|
@@ -37,6 +37,6 @@ COPY ./start.sh /start
|
|
| 37 |
|
| 38 |
# Make sure the script is executable
|
| 39 |
RUN chmod +x /start
|
| 40 |
-
RUN chmod +x /
|
| 41 |
# Define the entrypoint to start your application
|
| 42 |
CMD ["/start"]
|
|
|
|
| 11 |
RUN git clone https://github.com/novnc/noVNC.git /opt/noVNC \
|
| 12 |
&& cd /opt/noVNC \
|
| 13 |
&& git submodule update --init --recursive
|
| 14 |
+
RUN mkdir /workspace
|
| 15 |
# Install Miniconda
|
| 16 |
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
|
| 17 |
+
&& bash Miniconda3-latest-Linux-x86_64.sh -b -p /workspace/miniconda3
|
| 18 |
|
| 19 |
# Ensure Conda is on PATH and properly initialized
|
| 20 |
+
ENV PATH="/workspace/miniconda3/bin:$PATH"
|
| 21 |
|
| 22 |
# Initialize Conda and configure environment
|
| 23 |
RUN conda init bash \
|
|
|
|
| 37 |
|
| 38 |
# Make sure the script is executable
|
| 39 |
RUN chmod +x /start
|
| 40 |
+
RUN chmod +x /workspace/miniconda3/etc/profile.d/conda.sh
|
| 41 |
# Define the entrypoint to start your application
|
| 42 |
CMD ["/start"]
|