From eb86093fc19255ab3312bfc136621792d10cb395 Mon Sep 17 00:00:00 2001 From: Micah Fitzgerald Date: Fri, 23 Aug 2024 01:36:52 -0500 Subject: [PATCH] fix docker build --- .dockerignore | 9 ++++++++- Dockerfile | 6 +++--- ui/angular.json | 3 +++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.dockerignore b/.dockerignore index 9a46ac0..2569b00 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,10 @@ ui/dist ui/node_modules -ui/.angular \ No newline at end of file +ui/.angular +backend/.venv +backend/convoy.egg-info +backend/__pycache__ +backend/.coverage +backend/coverage.xml +backend/.pytest_cache +backend/convoy.db diff --git a/Dockerfile b/Dockerfile index f219419..ab95710 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ ENV VIRTUAL_ENV=/app/.venv # Place executables in the environment at the front of the path ENV PATH="/app/.venv/bin:$PATH" -COPY backend/* ./ -CMD ["fastapi", "run", "main.py", "--port", "80"] +COPY backend/ ./ +CMD ["fastapi", "run", "main/main.py", "--port", "80"] -EXPOSE 80 \ No newline at end of file +EXPOSE 80 diff --git a/ui/angular.json b/ui/angular.json index f5ffb38..505b3f7 100644 --- a/ui/angular.json +++ b/ui/angular.json @@ -93,5 +93,8 @@ } } } + }, + "cli": { + "analytics": false } } \ No newline at end of file