Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# .dockerignore (in ./backend directory)
.venv
__pycache__
src/__pycache__/
*.pyc
*.pyo
.pytest_cache
.coverage
# Add any other files/folders specific to your project
# that shouldn't be copied into the Docker image
5 changes: 3 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ WORKDIR /app
# Copy dependency definition files and your submodule source code
# The submodule needs to be at /app/sqlglot-vql for the path dependency to work
COPY --chown=appuser:appgroup ./pyproject.toml ./uv.lock* ./
COPY --chown=appuser:appgroup ./README.md ./
COPY --chown=appuser:appgroup ./sqlglot-vql ./sqlglot-vql/
# Copy the rest of your application files
COPY --chown=appuser:appgroup ./README.md ./main.py ./
COPY --chown=appuser:appgroup ./src ./src/

# Install all project dependencies, including sqlglot-vql from the local path
# uv will read pyproject.toml, see the file:// reference, and build/install sqlglot-vql
Expand All @@ -29,4 +30,4 @@ RUN uv pip install --system --no-cache-dir .
USER appuser

EXPOSE 5000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "5000"]
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "5000"]
Loading