Skip to content
  • Emanuele Aina's avatar
    Dockerfile: Add a stage for running unittest · 1cee8983
    Emanuele Aina authored
    
    
    Use the multi-stage support to build a `unittest` stage carrying the
    extra dependencies needed to run unit tests without polluting the
    production image.
    
    To run the unit tests in docker:
    
        docker build -t qa-report-app-unittest --target unittest .
        docker run -t --user $UID -v $(pwd):/app -w /app qa-report-app-unittest pytest-3
    
    Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
    1cee8983