Spaces:
Build error
Build error
# 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/docker directory | |
WORKDIR /app/dify/docker | |
# Copy the example environment file from the correct location | |
RUN cp /app/dify/docker/.env.example .env | |
# Run Docker Compose to build and start the services | |
CMD ["docker-compose", "up", "-d"] |