Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfitz2 committed Aug 23, 2024
1 parent f17519e commit eb86093
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
9 changes: 8 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
ui/dist
ui/node_modules
ui/.angular
ui/.angular
backend/.venv
backend/convoy.egg-info
backend/__pycache__
backend/.coverage
backend/coverage.xml
backend/.pytest_cache
backend/convoy.db
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
EXPOSE 80
3 changes: 3 additions & 0 deletions ui/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,8 @@
}
}
}
},
"cli": {
"analytics": false
}
}

0 comments on commit eb86093

Please sign in to comment.