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:
parent
7a3c0e2f84
commit
5cb1abf6b1
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user