Some checks failed
Build and Push Docker Images / build-and-push (push) Failing after 1m34s
25 lines
688 B
Plaintext
25 lines
688 B
Plaintext
FROM ${BASE_IMAGE}
|
|
|
|
LABEL org.opencontainers.image.title="tenant-jupyter" \
|
|
org.opencontainers.image.description="JupyterLab image built on tenant-base" \
|
|
org.opencontainers.image.base.name="${BASE_IMAGE}"
|
|
|
|
USER root
|
|
COPY --chown=appuser:appuser requirements.txt /tmp/requirements.txt
|
|
RUN pip install --no-cache-dir -r /tmp/requirements.txt \
|
|
&& rm /tmp/requirements.txt
|
|
|
|
USER appuser
|
|
WORKDIR /home/appuser/work
|
|
|
|
COPY --chown=appuser:appuser test_script.py /home/appuser/work/test_script.py
|
|
|
|
EXPOSE 8888
|
|
|
|
CMD ["jupyter", "lab", \
|
|
"--ip=0.0.0.0", \
|
|
"--port=8888", \
|
|
"--no-browser", \
|
|
"--ServerApp.token=", \
|
|
"--ServerApp.allow_remote_access=True"]
|