DIVY118 commited on
Commit
4cbf806
·
verified ·
1 Parent(s): b6aaf5b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -4,8 +4,8 @@ FROM python:3.10
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
7
- # Install Jupyter Notebook
8
- RUN pip install --no-cache-dir notebook
9
 
10
  # Create necessary directories and set permissions
11
  RUN mkdir -p /.local/share/jupyter && \
@@ -13,7 +13,7 @@ RUN mkdir -p /.local/share/jupyter && \
13
  chmod -R 777 /.local/share/jupyter
14
 
15
  # Expose the Jupyter Notebook port
16
- EXPOSE 8888
17
 
18
  # Set the command to start Jupyter Notebook
19
  CMD ["jupyter", "notebook", "--ip=0.0.0.0", "--port=7860", "--no-browser", "--allow-root"]
 
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
7
+ # Install Jupyter Notebook and other useful packages
8
+ RUN pip install --no-cache-dir notebook jupyterlab jupyterlab-lsp python-lsp-server
9
 
10
  # Create necessary directories and set permissions
11
  RUN mkdir -p /.local/share/jupyter && \
 
13
  chmod -R 777 /.local/share/jupyter
14
 
15
  # Expose the Jupyter Notebook port
16
+ EXPOSE 7860
17
 
18
  # Set the command to start Jupyter Notebook
19
  CMD ["jupyter", "notebook", "--ip=0.0.0.0", "--port=7860", "--no-browser", "--allow-root"]