-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDockerfile
More file actions
42 lines (33 loc) · 938 Bytes
/
Dockerfile
File metadata and controls
42 lines (33 loc) · 938 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
38
39
40
FROM python:3.12
LABEL maintainer="Vincent Prevosto <prevosto@mit.edu>"
# Ubuntu package installs
RUN apt update && \
apt install -y --no-install-recommends \
git \
nano && \
apt clean && \
rm -rf /var/lib/apt/lists/*
# Install dependencies
RUN pip install \
numpy \
scipy \
matplotlib \
PyWavelets \
tables \
pyqt5 \
ipython
# Clone Combinato
WORKDIR /src
RUN git clone https://github.com/jniediek/combinato.git
# Add Combinato repository to paths
ENV COMBINATO_PATH=/src/combinato
ENV PATH=$PATH:$COMBINATO_PATH
ENV PYTHONPATH=/usr/local/bin/python3:$COMBINATO_PATH
RUN echo '\n\
export PATH=$PATH:/src/combinato\n\
export PYTHONPATH=$PYTHONPATH:/usr/local/bin/python3:/src/combinato\n\
export COMBINATO_PATH=/src/combinato' >> /root/.bashrc
RUN pip install "numpy<2" # Ensure compatibility with Combinato
# Install Combinato
WORKDIR /src/combinato
RUN python3 setup_options.py