6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-15 15:20:44 +00:00
tutor/build/configurator/Dockerfile
Régis Behmo c903ab2b12 Migrate openedx-docker project to Tutor 👩‍🏫
The project gets a new name and some proper documentation. Build/Deploy
are now properly separated.
2018-12-26 19:27:08 +01:00

15 lines
462 B
Docker

FROM ubuntu:18.04
RUN apt update && \
apt install -y python3 python3-pip curl
RUN pip3 install jinja2
RUN mkdir /openedx /openedx/config /openedx/templates
COPY ./bin/configurator /usr/local/bin
COPY ./bin/docker-entrypoint.sh /usr/local/bin
WORKDIR /openedx/
ENTRYPOINT ["docker-entrypoint.sh"]
CMD configurator -c /openedx/config/config.json interactive && \
configurator -c /openedx/config/config.json substitute /openedx/templates/ /openedx/output/