diff --git a/.dockerignore b/.dockerignore index 68f1883c..024aa907 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,12 +2,19 @@ Dockerfile *.swp .dockerignore +.gitignore .git -*.yaml -*.md -*.json -*.sh -*.png -*.svg +.github +doc +.idea +**/*.yaml +**/*.md +**/*.json +**/*.sh +**/*.png +**/*.svg # OSX files -.DS_Store \ No newline at end of file +.DS_Store + +# Exception - Used in docker build +!limitador-server/examples/limits.yaml \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 8e44b28d..43194c29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,8 @@ ENV RUSTFLAGS="-C target-feature=-crt-static" COPY . . +RUN ls -larth + RUN source $HOME/.cargo/env \ && cargo build --release