Fix ownership issue with /app directory in Dockerfile (#1979)

chore: Update Dockerfile to fix ownership issue with /app directory
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-05-27 06:53:19 -07:00 committed by GitHub
commit 9d5d40f6a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View file

@ -10,9 +10,9 @@ services:
environment:
- LANGFLOW_DATABASE_URL=postgresql://langflow:langflow@postgres:5432/langflow
# This variable defines where the logs, file storage, monitor data and secret keys are stored.
- LANGFLOW_CONFIG_DIR=/var/lib/langflow
- LANGFLOW_CONFIG_DIR=app/langflow
volumes:
- langflow-data:/var/lib/langflow
- langflow-data:app/langflow
postgres:
image: postgres:16