diff --git a/recipes/Dockerfile b/recipes/Dockerfile
index 2310a136a835831a6a6865b2438311ebde6278d0..04b44f00361cba35779325a036d474c059411742 100644
--- a/recipes/Dockerfile
+++ b/recipes/Dockerfile
@@ -7,13 +7,10 @@ RUN apt-get update && apt-get install -y \
  && rm -rf /var/lib/apt/lists/* \
  && git clone --depth 1 --single-branch -b $BRANCH https://gitlab.pasteur.fr/nyx/larvatagger.jl $DIRNAME \
  && julia --project=$DIRNAME -e 'using Pkg; Pkg.instantiate()' \
- && ln -s /$DIRNAME/scripts/larvatagger.jl /bin \
- && rm -f $DIRNAME/test/precompile* \
- && rm -f $DIRNAME/scripts/larvatagger.jl
+ && ln -s /$DIRNAME/scripts/larvatagger.jl /bin
 
-COPY scripts/larvatagger.jl $DIRNAME/scripts/
-COPY test/precompile* test/data_sample* $DIRNAME/test/
-COPY src/cli.jl $DIRNAME/src/
+# COPY requires at least one file defined, hence `test/precompile.jl`
+COPY test/precompile.jl test/data_sample* $DIRNAME/test/
 
 ARG TIMEZONE=UTC
 RUN ln -snf /usr/share/zoneinfo/$TIMEZONE /etc/localtime \