File size: 465 Bytes
496ca32 3a70b86 496ca32 fc78022 685df8c 496ca32 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# Use an official Docker image as a base
FROM docker:latest
# Install Docker Compose
RUN apk add --no-cache docker-compose
# Set the working directory
WORKDIR /app
# Copy the entire project into the container
COPY . .
# Change to the dify-main/docker directory
WORKDIR /app/dify-main/docker
# Correct the path to the .env.example file
RUN cp /app/docker/.env.example .env
# Run Docker Compose to build and start the services
CMD ["docker-compose", "up", "-d"] |