mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-16 10:05:18 +00:00
c903ab2b12
The project gets a new name and some proper documentation. Build/Deploy are now properly separated.
18 lines
522 B
Docker
18 lines
522 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
|
|
|
|
ENV DJANGO_SETTINGS_MODULE xqueue.universal
|
|
RUN ln -s /openedx/config/universal.py xqueue/universal.py
|
|
|
|
EXPOSE 8040
|
|
CMD gunicorn --name xqueue --bind=0.0.0.0:8040 --max-requests=1000 xqueue.wsgi:application
|