diff --git a/Dockerfile b/Dockerfile
index cc8bb790e1904be96589fcbaa2c721f1159e197a..d8e27c1c58605f2956507077e5f50bdc555ac81f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,10 +4,6 @@ LABEL maintainer="Drupal Admins <drupal-admins@cern.ch>"
 
 ARG restic_version=0.12.0
 
-COPY ./tekton-task-templates /tekton-task-templates
-
-COPY ./velero-restic-restore/restore_pvs.sh /scripts/restore_pvs.sh
-
 RUN yum install epel-release -y && \
     # install restic
     yum install yum-plugin-copr -y && \
@@ -18,4 +14,7 @@ RUN yum install epel-release -y && \
     yum install -y /usr/bin/openstack --disableplugin=protectbase && \
     yum clean all
 
+COPY ./tekton-task-templates /tekton-task-templates
+COPY ./velero-restic-restore/restore_pvs.sh /scripts/restore_pvs.sh
+
 CMD ["/usr/local/bin/oc"]