3 / Dockerfile
karenmiranda's picture
Update Dockerfile
f8376de verified
raw
history blame contribute delete
No virus
309 Bytes
# 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/"]