diff --git a/.Dockerignore b/.Dockerignore index ccb5166..1112ef2 100644 --- a/.Dockerignore +++ b/.Dockerignore @@ -1,2 +1,5 @@ -/target -.vscode \ No newline at end of file +target +.vscode +tests +.git +.gitignore \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 111dfd0..e073c30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /app COPY . . ENV SQLX_OFFLINE true -RUN CARGO BUILD --release +RUN cargo build --release ENV APP_ENVIRONMENT production