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

@ -69,7 +69,7 @@ FROM python:3.12.3-slim AS runtime
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install git -y \
&& apt-get install -y git libpq5 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data

View file

@ -73,7 +73,7 @@ FROM python:3.12.3-slim AS runtime
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install git -y \
&& apt-get install -y git libpq5 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data