diff --git a/Dockerfile b/Dockerfile index 5c7e81fddbd..31f4f8c00c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,15 @@ FROM nginx:1.25.1-alpine + +LABEL maintainer="vladimir.gorej@smartbear.com" \ + org.opencontainers.image.authors="vladimir.gorej@smartbear.com" \ + 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;"] diff --git a/Dockerfile.unprivileged b/Dockerfile.unprivileged index 533bcc70323..7774f039cd8 100644 --- a/Dockerfile.unprivileged +++ b/Dockerfile.unprivileged @@ -1,5 +1,13 @@ FROM nginxinc/nginx-unprivileged:1.25.1-alpine + +LABEL maintainer="vladimir.gorej@smartbear.com" \ + org.opencontainers.image.authors="vladimir.gorej@smartbear.com" \ + 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;"]