Spaces:
Runtime error
Runtime error
# Use Docker-in-Docker image | |
FROM docker:24-dind | |
# Set the working directory inside the container | |
WORKDIR /app | |
# Copy the entire context | |
COPY . . | |
# Start the Docker daemon and run the build | |
CMD ["sh", "-c", "dockerd-entrypoint.sh & sleep 5 && docker build -f docker/Dockerfile -t your_image_name docker/"] | |