ARG BASE_IMAGE FROM ${BASE_IMAGE} USER root COPY --chown=appuser:appuser test_script.py /home/appuser/work/test_buckets.py 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 EXPOSE 8888 CMD ["jupyter", "lab", \ "--ip=0.0.0.0", \ "--port=8888", \ "--no-browser", \ "--ServerApp.token=", \ "--ServerApp.allow_remote_access=True"]