Update Dockerfile for correct directory structure
Browse files- Dockerfile +17 -1
Dockerfile
CHANGED
@@ -127,7 +127,23 @@ ENV FLASK_APP=app.py \
|
|
127 |
PATH="/usr/local/bin:${PATH}" \
|
128 |
PYTHONPATH=/app/api \
|
129 |
TZ=UTC \
|
130 |
-
NLTK_DATA=/usr/local/share/nltk_data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
|
132 |
# Switch to the non-root user
|
133 |
USER user
|
|
|
127 |
PATH="/usr/local/bin:${PATH}" \
|
128 |
PYTHONPATH=/app/api \
|
129 |
TZ=UTC \
|
130 |
+
NLTK_DATA=/usr/local/share/nltk_data \
|
131 |
+
DB_USERNAME=postgres \
|
132 |
+
DB_PASSWORD=difyai123456 \
|
133 |
+
DB_HOST=localhost \
|
134 |
+
DB_PORT=5432 \
|
135 |
+
DB_DATABASE=dify \
|
136 |
+
REDIS_HOST=localhost \
|
137 |
+
REDIS_PORT=6379 \
|
138 |
+
REDIS_DB=0 \
|
139 |
+
MAIL_TYPE=smtp \
|
140 |
+
MAIL_DEFAULT_SENDER=no-reply@dify.ai \
|
141 |
+
STORAGE_TYPE=local \
|
142 |
+
STORAGE_LOCAL_PATH=/app/api/storage \
|
143 |
+
VECTOR_STORE=qdrant \
|
144 |
+
QDRANT_URL=http://localhost:6333 \
|
145 |
+
SECRET_KEY=your-secret-key \
|
146 |
+
SECURITY_PASSWORD_SALT=your-password-salt
|
147 |
|
148 |
# Switch to the non-root user
|
149 |
USER user
|