Changeset View
Changeset View
Standalone View
Standalone View
docker/Dockerfile
Show All 17 Lines | RUN export DEBIAN_FRONTEND=noninteractive && \ | ||||
rm -rf /var/lib/apt/lists/* | rm -rf /var/lib/apt/lists/* | ||||
RUN useradd -md /srv/softwareheritage -s /bin/bash swh | RUN useradd -md /srv/softwareheritage -s /bin/bash swh | ||||
USER swh | USER swh | ||||
RUN python3 -m venv /srv/softwareheritage/venv | RUN python3 -m venv /srv/softwareheritage/venv | ||||
ENV PATH="/srv/softwareheritage/venv/bin:${PATH}" | ENV PATH="/srv/softwareheritage/venv/bin:${PATH}" | ||||
RUN pip install --upgrade pip setuptools wheel | RUN pip install --upgrade pip setuptools wheel | ||||
RUN pip install 'gunicorn<20' | RUN pip install gunicorn | ||||
anlambert: You should keep the `pip install gunicorn` instruction as we do not explicitely declare the… | |||||
RUN pip install cassandra-driver | RUN pip install cassandra-driver | ||||
RUN pip install \ | RUN pip install \ | ||||
swh-core[db,http] \ | swh-core[db,http] \ | ||||
swh-deposit[server] \ | swh-deposit[server] \ | ||||
swh-indexer \ | swh-indexer \ | ||||
swh-journal \ | swh-journal \ | ||||
swh-lister \ | swh-lister \ | ||||
Show All 12 Lines |
You should keep the pip install gunicorn instruction as we do not explicitely declare the dependency in the requirements.txt files.