File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,13 @@ RUN curl https://bootstrap.pypa.io/get-pip.py | python3 && \
24
24
25
25
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2
26
26
27
+ COPY ./service-defs /etc/backend.ai/service-defs
28
+
27
29
# Install ipython kernelspec
28
30
RUN python3 -m ipykernel install --display-name "gFrotran 8.3 on Backend.AI" && \
29
31
cat /usr/local/share/jupyter/kernels/python3/kernel.json
30
32
31
-
33
+ # Backend.AI specifics
32
34
LABEL ai.backend.kernelspec="1" \
33
35
ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,OMP_NUM_THREADS,NPROC" \
34
36
ai.backend.features="batch query uid-match user-input" \
@@ -37,8 +39,7 @@ LABEL ai.backend.kernelspec="1" \
37
39
ai.backend.base-distro="ubuntu16.04" \
38
40
ai.backend.runtime-type="python" \
39
41
ai.backend.runtime-path="/usr/bin/python3" \
40
- ai.backend.service-ports="jupyter:http:8080,jupyterlab:http:8090"
41
- COPY policy.yml /etc/backend.ai/jail/policy.yml
42
+ ai.backend.service-ports="jupyter:http:8080,vscode:http:8180,jupyterlab:http:8090"
42
43
43
44
# vim: ft=dockerfile
44
45
You can’t perform that action at this time.
0 commit comments