blob: 5c694f85aead9c11679db7e50f9b6471a1abfb8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
FROM nginx:1.23.1-alpine
ENV TARGET=/usr/share/nginx/html
# Remove default Nginx HTML files
RUN rm -rf /usr/share/nginx/html/*
# Get all the archive static HTML and put it into place
# Copy the versions found in 'content/versions.json' under "current" and "last_minor"
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:16.6 ${TARGET} ${TARGET}
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:16.5 ${TARGET} ${TARGET}
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:16.4 ${TARGET} ${TARGET}
|