Repository begleitend zum Blockseminar
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112 |
- # Use the official MySQL image from Docker Hub
- FROM mysql:latest
-
- # Set environment variables
- ENV MYSQL_ROOT_PASSWORD=root_password
- ENV MYSQL_DATABASE=employees
-
- # Copy the SQL initialization script into the container
- COPY init.sql /docker-entrypoint-initdb.d/
-
- # Expose port 3306 to allow external connections to the database
- EXPOSE 3306
|