-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docker): add metadata annotations (#4319)
Refs #4314
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
FROM nginx:1.25.1-alpine | ||
|
||
LABEL maintainer="[email protected]" \ | ||
org.opencontainers.image.authors="[email protected]" \ | ||
org.opencontainers.image.url="https://editor-next.swagger.io" \ | ||
org.opencontainers.image.source="https://github.com/swagger-api/swagger-editor/tree/next" | ||
|
||
RUN apk update && apk add --no-cache "tiff>=4.4.0-r4" | ||
|
||
COPY ./build /usr/share/nginx/html | ||
|
||
EXPOSE 8080 | ||
|
||
# start nginx | ||
CMD ["nginx", "-g", "daemon off;"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
FROM nginxinc/nginx-unprivileged:1.25.1-alpine | ||
|
||
LABEL maintainer="[email protected]" \ | ||
org.opencontainers.image.authors="[email protected]" \ | ||
org.opencontainers.image.url="https://editor-next.swagger.io" \ | ||
org.opencontainers.image.source="https://github.com/swagger-api/swagger-editor/tree/next" | ||
|
||
COPY ./build /usr/share/nginx/html | ||
|
||
EXPOSE 8080 | ||
|
||
# start nginx | ||
CMD ["nginx", "-g", "daemon off;"] |