fix: Add libpq-dev and gcc dependencies to backend Dockerfile (#7136)

* 🔧 (Dockerfile): update Dockerfile to install additional dependencies (libpq-dev, gcc) required for the application to run successfully

* add libpq5 to docker ffile nightly

* 🔧 (docker-compose.yml): add docker-compose configuration for langflow and postgres services
♻️ (add_column_access_type_to_flow.py): refactor to use uppercase for access type enum values for consistency
♻️ (model.py): refactor to use uppercase for access type enum values for consistency

* 🔧 (docker-compose.yml): remove docker-compose file as it is no longer needed for the project

---------

Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
This commit is contained in:
Cristhian Zanforlin Lousa 2025-03-18 15:50:59 -03:00 • committed by GitHub
commit ee43c51297
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 8 deletions

View file

@ -3,7 +3,7 @@ FROM langflowai/backend_build as backend_build
FROM python:3.10-slim
WORKDIR /app
RUN apt-get update && apt-get install git -y
RUN apt-get update && apt-get install -y git libpq-dev gcc
COPY --from=backend_build /app/dist/*.whl /app/
RUN pip install langflow-*.whl