Skip to content

Commit

Permalink
Add execution permissions to the token generator scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
etejedor committed Mar 21, 2023
1 parent c2faba7 commit 664b7a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ RUN dnf install -y unzip && \

# Add scripts for culler (EOS tickets) and token generation
ADD ./scripts/culler /srv/jupyterhub/culler
RUN chmod 544 /srv/jupyterhub/culler/*.sh
ADD ./scripts/private /srv/jupyterhub/private
RUN chmod 544 /srv/jupyterhub/private/*.sh

# Make jupyterhub execute swanhub instead
RUN ln -sf /usr/local/bin/swanhub /usr/local/bin/jupyterhub
Expand All @@ -118,4 +120,4 @@ RUN pip3 install --no-cache \

EXPOSE 8081
ENTRYPOINT ["tini", "--"]
CMD ["jupyterhub", "--config", "/usr/local/etc/jupyterhub/jupyterhub_config.py"]
CMD ["jupyterhub", "--config", "/usr/local/etc/jupyterhub/jupyterhub_config.py"]

0 comments on commit 664b7a4

Please sign in to comment.