mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-15 15:20:44 +00:00
c903ab2b12
The project gets a new name and some proper documentation. Build/Deploy are now properly separated.
15 lines
462 B
Docker
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/
|