mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
We were generating the key in the Dockerfile, but then mounting the host’s web directory, which “obscured” (to quote the Docker docs) the directory in the container. We can move key generation to the container entrypoint, but only call it if the key doesn’t already exist to save time on container teardown / restart. |
||
---|---|---|
.. | ||
Dockerfile | ||
start-server.sh |