Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Debian linux dist with python 3.10.14
FROM python:3.10.14-bookworm

# Set the working directory
WORKDIR /catchamouse_project

# Copy the current directory contents into the container
COPY . .

# Update the package index and install essential packages
RUN apt-get update && apt-get install -y libgsl-dev

# Upgrade pip and setuptools
RUN pip install --upgrade pip setuptools

# Install prerequisite packages
RUN pip install numpy pandas

# Build and install
RUN cd Python && \
python setup_P3.py build && \
python setup_P3.py install

# Run python when the container launches
CMD ["python"]