Commit
·
a9e8ff1
1
Parent(s):
96e1736
Fixing path
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
@@ -13,6 +13,9 @@ WORKDIR /home/jupyteruser
|
|
13 |
# Install JupyterLab and plugins
|
14 |
RUN pip install --user jupyterlab jupyterlab-vim==0.15.1 jupyterlab-vimrc
|
15 |
|
|
|
|
|
|
|
16 |
# Copy any necessary files (if needed)
|
17 |
# COPY --chown=jupyteruser:jupyteruser your-files /home/jupyteruser/your-destination
|
18 |
|
@@ -34,8 +37,10 @@ USER jupyteruser
|
|
34 |
# Set working directory
|
35 |
WORKDIR /home/jupyteruser
|
36 |
|
|
|
|
|
|
|
37 |
# Add JupyterLab entrypoint
|
38 |
-
# Note: Removed '--allow-root' as we're not running as root
|
39 |
ENTRYPOINT ["jupyter", "lab", "--ip=0.0.0.0", "--NotebookApp.token='' --port 7860"]
|
40 |
|
41 |
# Optional: Set CMD to launch TGI or any other command
|
|
|
13 |
# Install JupyterLab and plugins
|
14 |
RUN pip install --user jupyterlab jupyterlab-vim==0.15.1 jupyterlab-vimrc
|
15 |
|
16 |
+
# Add local python bin directory to PATH
|
17 |
+
ENV PATH="/home/jupyteruser/.local/bin:${PATH}"
|
18 |
+
|
19 |
# Copy any necessary files (if needed)
|
20 |
# COPY --chown=jupyteruser:jupyteruser your-files /home/jupyteruser/your-destination
|
21 |
|
|
|
37 |
# Set working directory
|
38 |
WORKDIR /home/jupyteruser
|
39 |
|
40 |
+
# Add local python bin directory to PATH
|
41 |
+
ENV PATH="/home/jupyteruser/.local/bin:${PATH}"
|
42 |
+
|
43 |
# Add JupyterLab entrypoint
|
|
|
44 |
ENTRYPOINT ["jupyter", "lab", "--ip=0.0.0.0", "--NotebookApp.token='' --port 7860"]
|
45 |
|
46 |
# Optional: Set CMD to launch TGI or any other command
|