mirror of https://github.com/docker/docs.git
12 lines
361 B
Docker
12 lines
361 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
|