Skip to content
Snippets Groups Projects
Select Git revision
  • a5f913562d0afb4e95f71e9426ca7ec44fb69e16
  • master default protected
  • postgres_integration
  • s3compatible
  • intros
  • bootstrap4
  • modules
7 results

video-js.swf

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Dockerfile 999 B
    # Can be "development" or "production"
    ARG ENV_TYPE
    ARG GIT_COMMIT_SHA
    FROM registry.git.fsmpi.rwth-aachen.de/videoag/backend/${ENV_TYPE}_common_py:${GIT_COMMIT_SHA}
    
    ENV VIDEOAG_API_GIT_COMMIT_HASH $GIT_COMMIT_SHA
    
    COPY extra_requirements.txt ./
    RUN pip3 install -r extra_requirements.txt
    
    COPY docker_start.sh ./
    COPY .pylintrc ./
    COPY tests/ ./tests/
    COPY config/api_example_config.py ./config/
    COPY config/test_config_override.py ./config/
    COPY config/uwsgi_example.ini ./config/
    
    # The source has a symlink file at src/videoag_common
    # The actual files are already in the image at src/videoag_common
    # So we move the actual files temporarily, copy the src directory, remove the symlink and move the actual files back
    # In the future, COPY --exclude src/videoag_common might work (but right now it doesn't, some "failed to compute cache key")
    RUN mv src/videoag_common src/.temp
    COPY src/ ./src/
    RUN rm src/videoag_common
    RUN mv src/.temp src/videoag_common
    
    ENTRYPOINT ["/code/docker_start.sh"]