mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Docker: Reorder dependency installation for cache purposes
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
eff7d478ab
commit
a0be018547
1 changed files with 4 additions and 2 deletions
|
@ -7,14 +7,16 @@ ENV AUR_CONFIG=conf/config
|
||||||
COPY ./docker /docker
|
COPY ./docker /docker
|
||||||
COPY ./docker/scripts/*.sh /usr/local/bin/
|
COPY ./docker/scripts/*.sh /usr/local/bin/
|
||||||
|
|
||||||
|
# Install system-wide dependencies.
|
||||||
|
RUN /docker/scripts/install-deps.sh
|
||||||
|
|
||||||
# Copy over all aurweb files.
|
# Copy over all aurweb files.
|
||||||
COPY . /aurweb
|
COPY . /aurweb
|
||||||
|
|
||||||
# Working directory is aurweb root @ /aurweb.
|
# Working directory is aurweb root @ /aurweb.
|
||||||
WORKDIR /aurweb
|
WORKDIR /aurweb
|
||||||
|
|
||||||
# Install dependencies
|
# Install pip directories now that we have access to /aurweb.
|
||||||
RUN docker/scripts/install-deps.sh
|
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
# Add our aur user.
|
# Add our aur user.
|
||||||
|
|
Loading…
Add table
Reference in a new issue