This commit is contained in:
parent
6945db40e1
commit
a20c7e2c59
@ -2,6 +2,7 @@ ARG BASE_IMAGE
|
|||||||
FROM ${BASE_IMAGE}
|
FROM ${BASE_IMAGE}
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
COPY --chown=appuser:appuser test_script.py /home/appuser/work/test_buckets.py
|
||||||
COPY --chown=appuser:appuser requirements.txt /tmp/requirements.txt
|
COPY --chown=appuser:appuser requirements.txt /tmp/requirements.txt
|
||||||
RUN pip install --no-cache-dir -r /tmp/requirements.txt \
|
RUN pip install --no-cache-dir -r /tmp/requirements.txt \
|
||||||
&& rm /tmp/requirements.txt
|
&& rm /tmp/requirements.txt
|
||||||
@ -9,8 +10,6 @@ RUN pip install --no-cache-dir -r /tmp/requirements.txt \
|
|||||||
USER appuser
|
USER appuser
|
||||||
WORKDIR /home/appuser/work
|
WORKDIR /home/appuser/work
|
||||||
|
|
||||||
COPY --chown=appuser:appuser test_script.py /home/appuser/work/test_buckets.py
|
|
||||||
|
|
||||||
EXPOSE 8888
|
EXPOSE 8888
|
||||||
|
|
||||||
CMD ["jupyter", "lab", \
|
CMD ["jupyter", "lab", \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user