6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-09 08:30:18 +00:00
tutor/build/xqueue/Dockerfile
Régis Behmo e993b3109f Stop the "ln -s" settings madness
Creating soft links to files that do not exist is just madness, let's
stop it. Instead, we take advantage of the CONFIG_ROOT environment
variable, which allows to place lms/cms.env/auth.json files anywhere.
2018-12-26 19:27:08 +01:00

15 lines
418 B
Docker

FROM ubuntu:18.04
RUN apt update && \
apt upgrade -y && \
apt install -y language-pack-en git python-pip libmysqlclient-dev
RUN mkdir /openedx
RUN git clone https://github.com/edx/xqueue --branch open-release/hawthorn.2 --depth 1 /openedx/xqueue
WORKDIR /openedx/xqueue
RUN pip install -r requirements.txt
EXPOSE 8040
CMD gunicorn --name xqueue --bind=0.0.0.0:8040 --max-requests=1000 xqueue.wsgi:application