Severian commited on
Commit
a7f4ee8
1 Parent(s): 685df8c

Update Dockerfile for correct directory structure

Browse files
Files changed (1) hide show
  1. 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"]