mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-10 03:23:04 +00:00
14 lines
375 B
Docker
14 lines
375 B
Docker
FROM jupyterhub/jupyterhub
|
|
|
|
# Create test user (PAM auth) and install single-user Jupyter
|
|
RUN useradd testuser --create-home --shell /bin/bash
|
|
RUN echo 'testuser:passwd' | chpasswd
|
|
RUN pip install jupyter
|
|
|
|
COPY app ./app
|
|
COPY jupyterhub_config.py .
|
|
COPY requirements.txt /tmp/requirements.txt
|
|
RUN pip install -r /tmp/requirements.txt
|
|
|
|
CMD ["jupyterhub", "--ip", "0.0.0.0"]
|