Commit 32134b8e authored by Philipp Wellner's avatar Philipp Wellner
Browse files

moved ENTRYPOINT to child Dockerfile

parent 0ec082b6
Pipeline #24122 failed with stage
in 7 seconds
FROM scipoptsuite/scipoptsuite:coAtWork
FROM coworkatbase
LABEL maintainer="ITDS"
ARG DEBIAN_FRONTEND=noninteractive
......@@ -6,8 +6,16 @@ ARG DEBIAN_FRONTEND=noninteractive
RUN apt update \
&& apt upgrade --assume-yes \
&& apt install --assume-yes procps \
&& install --directory --owner=www-data --group=www-data --mode=0755 /var/www \
&& rm -rf /var/cache/apt/*bin /var/cache/apt/archives/*deb /var/lib/apt/lists/*
USER www-data
WORKDIR /jupyter
ENTRYPOINT ["/bin/sh","-c"]
CMD ["jupyter notebook --no-browser --ip=0.0.0.0 --port=9001 --allow-root"]
......@@ -16,10 +16,5 @@ ENV XPRESS=/
# Set up defaults for running the service
EXPOSE 9001/tcp
ENTRYPOINT ["/bin/sh", "-c"]
WORKDIR /jupyter
USER www-data
CMD ["jupyter notebook --no-browser --ip=0.0.0.0 --port=9001 --allow-root"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment