Skip to content

Commit

Permalink
Merge pull request #40 from MITLibraries/maintenance-09-2024
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
ehanson8 authored Sep 20, 2024
2 parents d171f9b + 02c6418 commit 38f6316
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ RUN apt-get install -y python3.12 python3.12-venv python3.12-dev
# Install pip for Python
RUN apt-get install -y python3-pip

# Upgrade pip and install pipenv
RUN pip3 install --upgrade pip \
&& pip3 install pipenv
# Create and activate a virtual environment
RUN python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"

# Install pip and pipenv within the virtual environment
RUN pip install --upgrade pip \
&& pip install pipenv

# NOTE: /app is already used by browsertrix-crawler
# Setup python virtual environment
Expand Down

0 comments on commit 38f6316

Please sign in to comment.