-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (27 loc) · 879 Bytes
/
Dockerfile
File metadata and controls
37 lines (27 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM continuumio/miniconda3
ENV WORKSPACE /workspace
ARG jupyter_port
ENV env_jupyter_port=jupyter_port
# Setup workspace environment
RUN apt-get update && apt-get install -y gcc
RUN conda install jupyter notebook=5.7.8
ADD aries_basic_controller aries_basic_controller
ADD requirements.txt .
ADD setup.py .
ADD README.md .
#
#
RUN pip install --no-cache-dir -e .
#RUN pip install -r requirements.txt
#RUN pip install aiohttp
#RUN export PYTHONPATH="$PYTHONPATH:/aries_basic_controller"
#ENV PYTHONPATH "${PYTHONPATH}:/aries_basic_controller"
#RUN export JUPYTER_PATH="$JUPYTER_PATH:/aries_basic_controller"
# Create jupyter notebook workspace
#RUN mkdir $WORKSPACE
WORKDIR $WORKSPACE
# Make the image start the jupyer notebook
COPY ./entrypoint.sh /
RUN chmod +x /entrypoint.sh
# ENTRYPOINT ["/entrypoint.sh", "$env_jupyter_port"]
ENTRYPOINT ["/entrypoint.sh", "8888"]