Changeset View
Changeset View
Standalone View
Standalone View
dockerfiles/swh-storage/Dockerfile
FROM python:3.6 | FROM python:3.6 | ||||
RUN 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 postgresql-client | libsystemd-dev postgresql-client | ||||
RUN pip install --upgrade pip setuptools wheel | |||||
RUN pip install swh-storage | RUN pip install swh-storage | ||||
COPY storage.yml / | COPY storage.yml / | ||||
COPY entrypoint.sh / | COPY entrypoint.sh / | ||||
ENTRYPOINT ["/entrypoint.sh"] | ENTRYPOINT ["/entrypoint.sh"] | ||||
EXPOSE 5002 | EXPOSE 5002 |