Take out OVH run-time params

This commit is contained in:
Josh Meyer 2021-07-16 11:52:51 -04:00
parent 649bc53536
commit d0f8eb96cd
2 changed files with 1 additions and 21 deletions

View File

@ -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 /

View File

@ -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
jupyter lab --ip=0.0.0.0 --port=8080 --allow-root