browsertrix dependencies isolated into dockerfile

This commit is contained in:
msramalho
2023-08-24 16:57:58 +01:00
parent b2adceff25
commit 804fcb1204
3 changed files with 113 additions and 432 deletions

View File

@@ -20,8 +20,10 @@ RUN pip install --upgrade pip && \
# TODO: avoid copying unnecessary files, including .git
COPY Pipfile* ./
RUN pipenv install
# install from pipenv, with browsertrix-only requirements
RUN pipenv install && \
pipenv install pywb uwsgi
# doing this at the end helps during development, builds are quick
COPY ./src/ .