Skip to content
Snippets Groups Projects
Select Git revision
  • develop default protected
  • 284-browse-redesign
  • 334-don-t-display-an-empty-page-browser
  • 316-ultrasonic
  • ButterflyOfFire/funkwhale-patch-1
  • master
  • 303-json-ld
  • 278-search-browse
  • 0.15
  • 0.14.2
  • 0.14.1
  • 0.14
  • 0.13
  • 0.12
  • 0.11
  • 0.10
  • 0.9.1
  • 0.9
  • 0.8
  • 0.7
  • 0.6.1
  • 0.6
  • 0.5.4
  • 0.5.3
  • 0.5.2
  • 0.5.1
  • 0.5
  • 0.4
28 results

Dockerfile

Blame
  • Forked from funkwhale / funkwhale
    7930 commits behind the upstream repository.
    Dockerfile 636 B
    FROM python:3.5
    
    ENV PYTHONUNBUFFERED 1
    
    # Requirements have to be pulled and installed here, otherwise caching won't work
    
    COPY ./requirements.apt /requirements.apt
    RUN apt-get update -qq && grep "^[^#;]" requirements.apt | xargs apt-get install -y
    
    
    COPY ./requirements/base.txt /requirements/base.txt
    RUN pip install -r /requirements/base.txt
    COPY ./requirements/production.txt /requirements/production.txt
    RUN pip install -r /requirements/production.txt
    
    COPY . /app
    
    # Since youtube-dl code is updated fairly often, we split it here
    RUN pip install --upgrade youtube-dl
    
    WORKDIR /app
    
    ENTRYPOINT ["./compose/django/entrypoint.sh"]