mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
12 lines
375 B
Docker
12 lines
375 B
Docker
FROM docs/base:oss
|
|
MAINTAINER Mary Anthony <mary@docker.com> (@moxiegirl)
|
|
|
|
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
|