forked from gdsfactory/gdsfactory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.dev
44 lines (37 loc) · 1.08 KB
/
Dockerfile.dev
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
38
39
40
41
42
43
44
FROM jupyter/base-notebook:python-3.8.8
# FROM jupyter/base-notebook
# FROM continuumio/miniconda3
# expose klive and jupyter notebook ports
EXPOSE 8082
EXPOSE 8083
EXPOSE 8888
USER root
RUN apt-get update --yes && \
apt-get install --yes --no-install-recommends \
make \
git \
htop \
neovim
USER jovyan
# COPY . /home/jovyan/gdfactory
COPY --chown=jovyan docs/notebooks /home/jovyan/notebooks
#COPY docs/notebooks/00__git.ipynb /home/jovyan/
RUN conda init bash
# RUN git clone https://github.com/gdsfactory/gdsfactory.git
# USER ${NB_UID}
# RUN apt update
# RUN apt install gcc
# RUN conda install -c conda-forge pymeep -y
RUN mamba install gdspy -y
RUN mamba install pymeep=*=mpi_mpich_* -y
RUN pip install jax jaxlib
RUN pip install gdsfactory[tidy3d]
RUN pip install gdsfactory[full]
RUN pip install gdsfactory[sipann]
# COPY requirements.txt /opt/app/requirements.txt
# COPY requirements_dev.txt /opt/app/requirements_dev.txt
# WORKDIR /opt/app
# RUN pip install -r requirements.txt
# RUN pip install -r requirements_dev.txt
WORKDIR /home/jovyan
# VOLUME /home/jovyan/work