Changeset View
Changeset View
Standalone View
Standalone View
dockerfiles/swh-objstorage/Dockerfile
FROM python:3 | FROM python:3 | ||||
export DEBIAN_FRONTEND=noninteractive && \ | RUN export DEBIAN_FRONTEND=noninteractive && \ | ||||
apt-get update && \ | apt-get update && \ | ||||
apt-get install -y \ | apt-get install -y \ | ||||
libsystemd-dev | libsystemd-dev | ||||
RUN pip install swh-objstorage | RUN pip install swh-objstorage | ||||
COPY objstorage.yml / | COPY objstorage.yml / | ||||
COPY entrypoint.sh / | COPY entrypoint.sh / | ||||
RUN mkdir -p /srv/softwareheritage/objects | RUN mkdir -p /srv/softwareheritage/objects | ||||
ENTRYPOINT ["/entrypoint.sh"] | ENTRYPOINT ["/entrypoint.sh"] | ||||
EXPOSE 5003 | EXPOSE 5003 |