Update Dockerfile for correct directory structure
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -16,5 +16,8 @@ WORKDIR /app/dify-main/docker
|
|
| 16 |
# Correct the path to the .env.example file
|
| 17 |
RUN cp /app/docker/.env.example .env
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
# Run Docker Compose to build and start the services
|
| 20 |
CMD ["docker-compose", "up", "-d"]
|
|
|
|
| 16 |
# Correct the path to the .env.example file
|
| 17 |
RUN cp /app/docker/.env.example .env
|
| 18 |
|
| 19 |
+
# Ensure the application reads the .env file
|
| 20 |
+
ENV ENV_FILE_PATH=/app/dify-main/docker/.env
|
| 21 |
+
|
| 22 |
# Run Docker Compose to build and start the services
|
| 23 |
CMD ["docker-compose", "up", "-d"]
|