From e34f75c2671b8a7053eb28707a6e48b16e72cd0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Tue, 4 Dec 2018 13:55:37 +0100 Subject: [PATCH] Make sure the dockerfile builds the project, instead of assuming the cached dummy is valid --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5e81539..23eec21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,6 +53,9 @@ RUN find . -not -path "./target*" -delete # To avoid copying unneeded files, use .dockerignore COPY . . +# Make sure that we actually build the project +RUN touch src/main.rs + # Builds again, this time it'll just be # your actual source files being built RUN cargo build --release