diff --git a/dockerfiles/swh-web/Dockerfile b/dockerfiles/swh-web/Dockerfile index 9a0a23f..8cc8b01 100644 --- a/dockerfiles/swh-web/Dockerfile +++ b/dockerfiles/swh-web/Dockerfile @@ -1,19 +1,20 @@ FROM python:3.6 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 -U pip RUN pip install swh-web RUN pip install psycopg2-binary # to make pip silent RUN pip install gunicorn RUN python3 -m swh.web.manage migrate COPY entrypoint.sh / ENTRYPOINT ["/entrypoint.sh"] WORKDIR /tmp/swh EXPOSE 5004