Created
February 11, 2023 21:02
-
-
Save petrushev/29b0186bba78538ae71a54dd6f85f331 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
notebook: | |
build: | |
dockerfile: Dockerfile | |
expose: | |
- "8888" | |
ports: | |
- "8888:8888" | |
working_dir: /notebooks | |
command: ["jupyter", "lab", "--allow-root", "--no-browser", "--ip=0.0.0.0", "--NotebookApp.token=''"] | |
volumes: | |
- .:/app | |
- aesara:/root/.aesara | |
- pytensor:/root/.pytensor | |
- /home/petrushev/Dropbox/notebooks:/notebooks | |
# - /home/petrushev/projects/bayesian-modeling:/notebooks | |
# - /home/petrushev/projects/statistical-rethinking:/notebooks | |
notebook3: | |
build: | |
dockerfile: pymc3.Dockerfile | |
expose: | |
- "8889" | |
ports: | |
- "8889:8888" | |
working_dir: /notebooks | |
command: ["jupyter", "lab", "--allow-root", "--no-browser", "--ip=0.0.0.0", "--NotebookApp.token=''"] | |
volumes: | |
- .:/app | |
- theano:/root/.theano | |
- /home/petrushev/Dropbox/notebooks:/notebooks | |
# - /home/petrushev/projects/bayesian-modeling:/notebooks | |
# - /home/petrushev/projects/statistical-rethinking:/notebooks | |
volumes: | |
theano: | |
aesara: | |
pytensor: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.11-bullseye | |
RUN apt-get update | |
RUN apt-get install -y locales locales-all | |
RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale-gen | |
RUN echo 'mk_MK.UTF-8 UTF-8' >> /etc/locale-gen | |
RUN locale-gen | |
RUN apt-get install -y \ | |
proj-bin \ | |
gdal-bin \ | |
libblas-dev \ | |
liblapack-dev \ | |
gfortran \ | |
libgeos-dev \ | |
libgdal-dev \ | |
graphviz | |
RUN pip install --upgrade pip | |
RUN pip install \ | |
jupyter \ | |
jupyterlab \ | |
numpy \ | |
matplotlib \ | |
pandas \ | |
scipy \ | |
"arviz<0.13" \ | |
"jax<0.4" \ | |
"jaxlib<0.4" \ | |
statsmodels \ | |
scikit-learn \ | |
descartes \ | |
geopandas \ | |
fiona \ | |
shapely \ | |
graphviz \ | |
pyarrow \ | |
pyreadr \ | |
openpyxl \ | |
"pymc<4.2" \ | |
numpyro \ | |
sympy \ | |
yfinance | |
COPY . /app | |
WORKDIR /app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.9-bullseye | |
RUN apt-get update | |
RUN apt-get install -y locales locales-all | |
RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale-gen | |
RUN echo 'mk_MK.UTF-8 UTF-8' >> /etc/locale-gen | |
RUN locale-gen | |
RUN apt-get install -y \ | |
proj-bin \ | |
gdal-bin \ | |
libblas-dev \ | |
liblapack-dev \ | |
gfortran \ | |
libgeos-dev \ | |
libgdal-dev \ | |
graphviz | |
RUN pip install --upgrade pip | |
RUN pip install \ | |
jupyter \ | |
jupyterlab \ | |
numpy \ | |
"matplotlib==3.5.1" \ | |
pandas \ | |
scipy \ | |
pymc3 \ | |
arviz \ | |
statsmodels \ | |
scikit-learn \ | |
descartes \ | |
geopandas \ | |
fiona \ | |
shapely \ | |
graphviz \ | |
pyarrow \ | |
pyreadr \ | |
openpyxl \ | |
numpyro \ | |
sympy | |
COPY . /app | |
WORKDIR /app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment