leibylucw / dock-press

A project to Dockerize a WordPress site
0 stars 0 forks source link

Use Dockerfile for MySQL #35

Closed leibylucw closed 4 months ago

leibylucw commented 4 months ago

The current Docker compose config uses a bind mount for the database dump file. This realistically should be copied over to the container instead, since there wouldn't (nor shouldn't) there be a need to modify the dump. This task is to create a Dockerfile for MySQL, which will also allow for moving certain operations to the build phase later.