mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-09-27 19:59:02 +00:00
4331bc5712
Replace all make commands by a single "tutor" binary. Environment and data are all moved to ~/.tutor/local/share/tutor. We take the opportunity to add a web UI and revamp the documentation. This is a complete rewrite. Close #121. Close #147.
16 lines
460 B
Docker
16 lines
460 B
Docker
FROM ubuntu:18.04
|
|
MAINTAINER Régis Behmo <regis@behmo.com>
|
|
|
|
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
|