Spaces:
Paused

userrein commited on
Commit
e0b3133
·
verified ·
1 Parent(s): 6bb8feb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -3
Dockerfile CHANGED
@@ -4,17 +4,26 @@ ENV DEBIAN_FRONTEND=noninteractive
4
 
5
  RUN apt-get update && \
6
  apt-get install -y \
 
 
7
  bash \
8
  curl \
9
  wget \
10
  git \
11
  nano \
12
- python3 \
13
- python3-pip \
14
  && rm -rf /var/lib/apt/lists/*
15
 
 
 
16
  WORKDIR /workspace
17
 
18
  EXPOSE 7860
19
 
20
- CMD ["bash"]
 
 
 
 
 
 
4
 
5
  RUN apt-get update && \
6
  apt-get install -y \
7
+ python3 \
8
+ python3-pip \
9
  bash \
10
  curl \
11
  wget \
12
  git \
13
  nano \
14
+ sudo \
15
+ ca-certificates \
16
  && rm -rf /var/lib/apt/lists/*
17
 
18
+ RUN pip3 install --no-cache-dir jupyterlab
19
+
20
  WORKDIR /workspace
21
 
22
  EXPOSE 7860
23
 
24
+ CMD ["jupyter", "lab", \
25
+ "--ip=0.0.0.0", \
26
+ "--port=7860", \
27
+ "--no-browser", \
28
+ "--allow-root", \
29
+ "--ServerApp.token="]