13 lines
391 B
Docker
13 lines
391 B
Docker
FROM python:3.6-alpine
|
|
MAINTAINER Régis Behmo <regis@behmo.com>
|
|
|
|
RUN apk add --no-cache curl
|
|
RUN pip install jinja2
|
|
|
|
RUN mkdir /openedx /openedx/config /openedx/templates
|
|
COPY ./bin/configurator /usr/local/bin
|
|
WORKDIR /openedx/
|
|
|
|
CMD configurator -c /openedx/config/config.json interactive && \
|
|
configurator -c /openedx/config/config.json substitute /openedx/templates/ /openedx/output/
|