Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
* Update Dockerfile to address build error
  • Loading branch information
ehanson8 committed Sep 20, 2024
1 parent d171f9b commit 02c6418
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 02c6418

Please sign in to comment.