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