diff --git a/dockerfiles/swh-web/Dockerfile b/dockerfiles/swh-web/Dockerfile index fbdb261..cc0e42f 100644 --- a/dockerfiles/swh-web/Dockerfile +++ b/dockerfiles/swh-web/Dockerfile @@ -1,20 +1,18 @@ FROM python:3 RUN export DEBIAN_FRONTEND=noninteractive && \ apt-get update && apt-get upgrade -y && \ apt-get install -y libsystemd-dev && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* RUN pip install swh-web - -RUN python3 -m swh.web.manage migrate - RUN pip install psycopg2-binary # to make pip silent +RUN python3 -m swh.web.manage migrate COPY web.yml /etc/softwareheritage/web/ COPY entrypoint.sh / ENTRYPOINT ["/entrypoint.sh"] EXPOSE 5004