Debian Codegraph @

examples/service-fastapi/Dockerfile

raw
1 FROM quay.io/jupyterhub/jupyterhub
2
3 # Create test user (PAM auth) and install single-user Jupyter
4 RUN useradd testuser --create-home --shell /bin/bash
5 RUN echo 'testuser:passwd' | chpasswd
6 RUN pip install jupyter
7
8 COPY app ./app
9 COPY jupyterhub_config.py .
10 COPY requirements.txt /tmp/requirements.txt
11 RUN pip install -r /tmp/requirements.txt
12
13 CMD ["jupyterhub", "--ip", "0.0.0.0"]