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.

Dockerfile 339B

123456789101112
  1. # Use the official MySQL image from Docker Hub
  2. FROM mysql:latest
  3. # Set environment variables
  4. ENV MYSQL_ROOT_PASSWORD=root_password
  5. ENV MYSQL_DATABASE=employees
  6. # Copy the SQL initialization script into the container
  7. COPY init.sql /docker-entrypoint-initdb.d/
  8. # Expose port 3306 to allow external connections to the database
  9. EXPOSE 3306