add gateway url

This commit is contained in:
2019-10-23 22:59:35 +02:00
parent f9c59f3060
commit fdcca93613
2 changed files with 4 additions and 2 deletions

View File

@ -3,11 +3,13 @@ FROM jupyter/scipy-notebook
LABEL Maintainer="Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>"
LABEL ImageName="registry.gitlab.com/wolutator/registry.gitlab.com/wolutator/"
ENV GATEWAY_URL
RUN \
pip install influxdb && \
pip install pymongo && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
CMD ["start-notebook.sh", "--NotebookApp.token=''"]
CMD ["start-notebook.sh", "--NotebookApp.token=''" "--gateway-url" "${GATEWAY}"]