2026-08-15 20:10:08 +02:00

22 lines
505 B
Plaintext

ARG BASE_IMAGE
FROM ${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_buckets.py
EXPOSE 8888
CMD ["jupyter", "lab", \
"--ip=0.0.0.0", \
"--port=8888", \
"--no-browser", \
"--ServerApp.token=", \
"--ServerApp.allow_remote_access=True"]