Skip to content
Snippets Groups Projects
Select Git revision
  • c34a733720d69f30dc97702039dd6ce72956f559
  • master default protected
  • replication_test
  • release-1.10 protected
  • dev protected
  • 556-usage-statistics
  • 553-semantic-recommendation-2
  • 553-semantic-recommendation
  • release-1.9 protected
  • 551-init-broker-service-permissions
  • 549-test-oai-pmh
  • 545-saving-multiple-times-breaks-pid-metadata
  • 499-standalone-compute-service-2
  • 539-load-tests
  • hotfix/helm-chart
  • luca_ba_new_interface
  • 534-bug-when-adding-access-to-user-that-is-not-registered-at-dashboard-service
  • release-1.8 protected
  • 533-integrate-semantic-recommendation
  • feature/openshift
  • 518-spark-doesn-t-map-the-headers-correct
  • v1.10.4 protected
  • v1.10.3 protected
  • v1.10.2 protected
  • v1.10.1 protected
  • v1.10.0-rc13 protected
  • v1.10.0-rc12 protected
  • v1.10.0-rc11 protected
  • v1.10.0-rc10 protected
  • v1.10.0-rc9 protected
  • v1.10.0-rc8 protected
  • v1.10.0-rc7 protected
  • v1.10.0-rc6 protected
  • v1.10.0-rc5 protected
  • v1.10.0-rc4 protected
  • v1.10.0-rc3 protected
  • v1.10.0-rc2 protected
  • v1.10.0rc1 protected
  • v1.10.0rc0 protected
  • v1.10.0 protected
  • v1.9.3 protected
41 results

Dockerfile

Blame
  • Dockerfile 1.07 KiB
    FROM nginx:latest AS runtime
    MAINTAINER Martin Weise <martin.weise@tuwien.ac.at>
    
    ARG SWAGGER_UI_VERSION=4.15.2
    
    RUN echo 1
    
    # reset
    RUN rm -f /usr/share/nginx/html/*
    
    WORKDIR /app
    
    ADD "https://github.com/swagger-api/swagger-ui/archive/refs/tags/v${SWAGGER_UI_VERSION}.tar.gz" /app/tmp.tar.gz
    RUN tar xzfv /app/tmp.tar.gz --strip-components 1 && rm -f /app/tmp.tar.gz
    
    COPY ./swagger-initializer.js ./swagger-initializer.js
    COPY ./docker-build.sh ./docker-build.sh
    RUN chmod +x ./docker-build.sh
    
    COPY ./nginx.conf /etc/nginx/nginx.conf
    
    WORKDIR /usr/share/nginx/html/
    
    COPY ./index.html ./index.html
    
    COPY ./api-analyse.yaml ./docs/analyse/api.yaml
    COPY ./api-authentication.yaml ./docs/authentication/api.yaml
    COPY ./api-container.yaml ./docs/container/api.yaml
    COPY ./api-database.yaml ./docs/database/api.yaml
    COPY ./api-identifier.yaml ./docs/identifier/api.yaml
    COPY ./api-metadata.yaml ./docs/metadata/api.yaml
    COPY ./api-query.yaml ./docs/query/api.yaml
    COPY ./api-table.yaml ./docs/table/api.yaml
    COPY ./api-units.yaml ./docs/units/api.yaml
    
    # generate
    RUN bash /app/docker-build.sh