mirror of https://github.com/docker/docs.git
16 lines
373 B
Docker
16 lines
373 B
Docker
---
|
|
{}
|
|
---
|
|
|
|
FROM docs/base:oss
|
|
MAINTAINER Docker Docs <docs@docker.com>
|
|
|
|
ENV PROJECT=docker-trusted-registry
|
|
# To get the git info for this repo
|
|
COPY . /src
|
|
RUN rm -rf /docs/content/$PROJECT/
|
|
COPY . /docs/content/$PROJECT/
|
|
|
|
# This kludge only exists when run from the DTR repo (useful for testing)
|
|
RUN mv -f /docs/content/$PROJECT/apidocgen/ /docs/content/apidocs/ || true
|