6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-11 17:38:46 +00:00

Make data directories in openedx/xqueue containers

These directories are not necessary per se, but they allow us to use our
tutor settings without having to mount an external directory.
This commit is contained in:
Régis Behmo 2019-06-07 08:53:33 +02:00
parent 7a3c0e2f84
commit 5cb1abf6b1
2 changed files with 4 additions and 1 deletions

View File

@ -80,6 +80,9 @@ COPY ./themes/ /openedx/themes/
RUN openedx-assets themes \
&& openedx-assets collect --settings=tutor.assets
# Create a data directory, which might be used (or not)
RUN mkdir /openedx/data
# service variant is "lms" or "cms"
ENV SERVICE_VARIANT lms
ENV SETTINGS tutor.production

View File

@ -5,7 +5,7 @@ RUN apt update && \
apt upgrade -y && \
apt install -y language-pack-en git python-pip libmysqlclient-dev
RUN mkdir /openedx
RUN mkdir /openedx /openedx/data
RUN git clone https://github.com/edx/xqueue --branch open-release/ironwood.2 --depth 1 /openedx/xqueue
WORKDIR /openedx/xqueue