#13 install plugins in docker image
This commit is contained in:
parent
2be873c0a8
commit
9fb3d6d331
|
|
@ -22,8 +22,13 @@ ENV METRICS_PASSWORD=''
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
ARG PACKAGE_REGISTRY_URL
|
||||||
|
ARG PLUGINS
|
||||||
|
|
||||||
COPY requirements.txt /app/requirements.txt
|
COPY requirements.txt /app/requirements.txt
|
||||||
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
||||||
|
RUN --mount=type=secret,id=AMARILLO_REGISTRY_CREDENTIALS \
|
||||||
|
pip install --no-cache-dir --upgrade --extra-index-url https://$(cat /run/secrets/AMARILLO_REGISTRY_CREDENTIALS)@${PACKAGE_REGISTRY_URL} ${PLUGINS}
|
||||||
|
|
||||||
COPY ./amarillo/app /app/amarillo/app
|
COPY ./amarillo/app /app/amarillo/app
|
||||||
COPY ./amarillo/plugins /app/amarillo/plugins
|
COPY ./amarillo/plugins /app/amarillo/plugins
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue