Add the most-changing files as last step for faster Docker rebuilds.
This commit is contained in:
parent
1617a119db
commit
6f73222dcd
@ -27,9 +27,6 @@ RUN mkdir -p $APACHE_RUN_DIR $APACHE_LOCK_DIR $APACHE_LOG_DIR
|
||||
ADD wheelhouse /data/wheelhouse
|
||||
RUN pip3 install --no-index --find-links=/data/wheelhouse -r /data/wheelhouse/requirements.txt
|
||||
|
||||
ADD deploy /data/git
|
||||
ADD config_local.py /data/git/blender-cloud/
|
||||
|
||||
VOLUME /data/config
|
||||
VOLUME /data/storage
|
||||
VOLUME /var/log
|
||||
@ -55,3 +52,7 @@ RUN rmdir /media /home 2>/dev/null || true
|
||||
ADD bash_history /root/.bash_history
|
||||
|
||||
ENTRYPOINT /docker-entrypoint.sh
|
||||
|
||||
# Add the most-changing files as last step for faster rebuilds.
|
||||
ADD config_local.py /data/git/blender-cloud/
|
||||
ADD deploy /data/git
|
||||
|
Loading…
x
Reference in New Issue
Block a user