Skip to content
Snippets Groups Projects
Verified Commit 1b58965e authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Better cache in dockerfile

parent 3396329c
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,8 @@ test_api:
image: funkwhale/funkwhale:base
before_script:
- cd api
- pip install -r requirements/base.txt
- pip install -r requirements/local.txt
- pip install -r requirements/test.txt
script:
- pytest
......
......@@ -8,7 +8,9 @@ COPY ./requirements.apt /requirements.apt
RUN apt-get update -qq && grep "^[^#;]" requirements.apt | xargs apt-get install -y
COPY ./requirements /requirements
COPY ./requirements/base.txt /requirements
RUN pip install -r /requirements/base.txt
COPY ./requirements/production.txt /requirements
RUN pip install -r /requirements/production.txt
COPY . /app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment