Changeset View
Changeset View
Standalone View
Standalone View
dockerfiles/swh-scheduler/Dockerfile
- This file was added.
FROM python:3 | |||||
RUN export DEBIAN_FRONTEND=noninteractive && \ | |||||
apt-get update && apt-get upgrade -y && \ | |||||
apt-get install -y libsystemd-dev postgresql-client && \ | |||||
apt-get clean && \ | |||||
rm -rf /var/lib/apt/lists/* | |||||
RUN pip install swh-scheduler | |||||
RUN pip install psycopg2-binary # to make pip silent | |||||
COPY scheduler.yml / | |||||
COPY entrypoint.sh / | |||||
ENTRYPOINT ["/entrypoint.sh"] | |||||
EXPOSE 5008 |