File size: 583 Bytes
e5cbd17 ea55e2e e5cbd17 79b9427 e5cbd17 79b9427 a48ccbf e5cbd17 79b9427 e5cbd17 79b9427 cd35fb3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
FROM tensorflow/tensorflow:2.12.0-gpu
WORKDIR /app
# Configurar Jupyter para escribir en /tmp directamente
ENV JUPYTER_RUNTIME_DIR=/tmp
ENV JUPYTER_DATA_DIR=/tmp
ENV JUPYTER_CONFIG_DIR=/tmp
# Instalar dependencias
COPY requirements.txt .
RUN pip install --upgrade pip && pip install -r requirements.txt
# Copiar código del notebook
COPY . .
# Ejecutar Jupyter Notebook
CMD ["jupyter", "notebook", \
"--ip=0.0.0.0", \
"--allow-root", \
"--NotebookApp.token=''", \
"--NotebookApp.password=''", \
"--NotebookApp.notebook_dir=/app", \
"--no-browser"]
|