Skip to content

Commit 778131b

Browse files
committed
logo: move to a path that's not hidden by a volume
Currently /srv/jupyterhub is the path we use to mount the pvc that has the sqlite database, so it hides the logo image and then hub can't serve it. This moves it to some other place where we don't mount a volume so it can be served without issues. Signed-off-by: David Caro <me@dcaro.es>
1 parent 6fa3cb5 commit 778131b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

images/paws-hub/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN adduser --disabled-password \
1010
--force-badname \
1111
${NB_USER}
1212

13-
COPY PAWS.svg /srv/jupyterhub
13+
COPY PAWS.svg /usr/local/share/jupyterhub/static/PAWS.svg
1414
COPY paws-favicon.ico /usr/local/share/jupyterhub/static/favicon.ico
1515

1616
RUN chown -R ${NB_USER}:${NB_USER} /srv/jupyterhub

paws/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ jupyterhub:
232232
c.OAuthenticator.allow_all = True
233233
c.JupyterHub.authenticator_class = Auth
234234
c.JupyterHub.authenticate_prometheus = False
235-
c.JupyterHub.logo_file = '/srv/jupyterhub/PAWS.svg'
235+
c.JupyterHub.logo_file = '/usr/local/share/jupyterhub/static/PAWS.svg'
236236
c.JupyterHub.template_vars = {
237237
'announcement': ('<span class="alert-success">'
238238
'Welcome to PAWS. '

0 commit comments

Comments
 (0)