Skip to content

Commit

Permalink
updated Dockerfile to build jupyter correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
bbowles1 committed May 15, 2024
1 parent cc427bb commit 5f8f105
Show file tree
Hide file tree
Showing 2 changed files with 162 additions and 160 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
# using ubuntu LTS version
FROM ubuntu:20.04

RUN apt-get update && apt-get install --no-install-recommends -y python3.8-dev \
python3.8-venv python3-pip python3-wheel build-essential && \
apt-get clean && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install --no-install-recommends -y \
python3.8-dev python3.8-venv python3-pip python3-wheel \
build-essential libhdf5-dev pkg-config && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# create and activate virtual environment
RUN python3.8 -m venv /opt/venv
Expand Down Expand Up @@ -35,7 +37,9 @@ COPY pyproject.toml ./
RUN pip install --upgrade pip setuptools wheel

# Copy the rest of the application code
# COPY . .
COPY pyproject.toml .
COPY poetry.lock .
COPY framepool_annotate.py .
# not needed because we are mounting

# append Python module dir to Path
Expand Down
Loading

0 comments on commit 5f8f105

Please sign in to comment.