From d0f8eb96cd833e633761c5196c62867a6f3d8b21 Mon Sep 17 00:00:00 2001 From: Josh Meyer Date: Fri, 16 Jul 2021 11:52:51 -0400 Subject: [PATCH] Take out OVH run-time params --- Dockerfile.train.jupyter | 15 --------------- start.sh | 7 +------ 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/Dockerfile.train.jupyter b/Dockerfile.train.jupyter index 1e2a0ff7..d0a4872a 100644 --- a/Dockerfile.train.jupyter +++ b/Dockerfile.train.jupyter @@ -40,7 +40,6 @@ RUN wget --no-check-certificate https://github.com/coqui-ai/STT/releases/downloa rm temp.tar.xz -#FROM gcr.io/kaggle-gpu-images/python:v98 FROM nvcr.io/nvidia/tensorflow:21.05-tf1-py3 ENV DEBIAN_FRONTEND=noninteractive @@ -98,12 +97,6 @@ RUN rm -rf ~/.local/share/stt ## # -#FROM gcr.io/kaggle-gpu-images/python:v98 - -RUN chsh -s /bin/bash -ENV SHELL=/bin/bash -RUN rm /bin/sh && ln -s /bin/bash /bin/sh - RUN apt-get update && apt-get install -y \ man \ vim \ @@ -129,14 +122,6 @@ RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager RUN jupyter nbextension enable --py widgetsnbextension #enable ipywidgets RUN jupyter labextension install jupyterlab-plotly -# #### tensorflow 1 -# # Create the environment: -# SHELL ["/bin/bash", "-c"] -# COPY tfenv.yml . -# RUN conda env create -f tfenv.yml -# SHELL ["conda", "run", "-n", "tf1", "/bin/bash", "-c"] -# RUN python -m ipykernel install --name=tensorflow1 - EXPOSE 8080 ADD start.sh / diff --git a/start.sh b/start.sh index 4ec5999e..05476bc9 100755 --- a/start.sh +++ b/start.sh @@ -1,9 +1,4 @@ #!/usr/bin/env bash set -eu -jupyter lab --ip=0.0.0.0 --port=8080 --no-browser --allow-root \ - --LabApp.token='' \ - --LabApp.custom_display_url=${JOB_URL_SCHEME}${JOB_ID}.${JOB_HOST} \ - --LabApp.allow_remote_access=True \ - --LabApp.allow_origin='*' \ - --LabApp.disable_check_xsrf=True \ No newline at end of file +jupyter lab --ip=0.0.0.0 --port=8080 --allow-root