mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 10:04:07 +00:00

See https://github.com/jupyterhub/team-compass/issues/688 for context. I've also added `QUAY_USERNAME` and `QUAY_PASSWORD` to environment secrets, but *not* `env.REGISTRY`. I will do so once this gets merged.
14 lines
381 B
Docker
14 lines
381 B
Docker
FROM quay.io/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"]
|