Skip to content
Snippets Groups Projects
Select Git revision
  • 7cc64d5e8ce8299a096c679d24fe9cfc041af451
  • mui5-tetras-main-stable default protected
  • mui5-tetras-main-old-stable
  • preprod protected
  • 75-dernieres-ameliorations-avant-workshop-du-7-02
  • wip-fix-xywh
  • wip-positionement-annot
  • wip-surface-transformer
  • uploads-file
  • 69-la-video-demare-quand-on-fait-glisser-le-slider-et-le-clic-creer-un-decalage-entre-le-player
  • 61-recettage-des-outils-d-annotation
  • gestion_multiple_ouverture_pannel_annotation
  • autorisation_un_pannel_annotation
  • autorisation_un_pannel_edition_annotation
  • récupération_temps_video
  • save-shapes-and-position
  • fix-error-create-annotation-pannel
  • time-saving-on-annotation
  • tetras-main protected
  • fix-poc-mirador
  • tetras-antho-test
21 results

setupJest.js

Blame
  • Dockerfile 882 B
    FROM debian:buster As base
    
    RUN apt-get update
    RUN apt-get -y upgrade
    RUN apt-get update
    
    FROM base As builder
    
    RUN apt-get install -y \
        apache2 \
        git \
        maven \
        openjdk-11-jdk
    
    WORKDIR /opt
    
    RUN git clone https://gitlab.tetras-libre.fr/unl/unl2rdf
    
    WORKDIR /opt/unl2rdf
    
    ARG GIT_VERSION=master
    
    RUN git checkout $GIT_VERSION
    
    RUN mvn package
    
    FROM base
    
    RUN apt-get install -y \
        apache2 \
        graphviz \
        libapache2-mod-wsgi-py3 \
        openjdk-11-jre \
        python-dev \
        python3-pip
    
    
    RUN pip3 install flask
    
    COPY flask.conf /etc/apache2/sites-available
    
    RUN a2dissite 000-default
    
    RUN a2ensite flask
    
    COPY --from=builder /opt/unl2rdf/target/*.jar /opt/unl2rdf.jar
    
    # Force code reloading
    RUN sed -i 's/^\(\s*MaxConnectionsPerChild\s*\) 0/\1 1/g' /etc/apache2/mods-enabled/mpm_event.conf
    
    WORKDIR /var/www/app/app
    
    ENTRYPOINT ["apache2ctl", "-DFOREGROUND"]