fix: Use Dockerfile.prod to align with upstream #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "dockerfile-prod"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The default Dockerfile is apparently just used for development. The upstream plans to publish an image using Dockerfile.prod: https://github.com/writefreely/writefreely/pull/1136
This is needed because Dockerfile cannot be used to to run sqlite, since the Dockerfile provides no pre-made directory for storing the database (which means mounted volumes have incorrect permissions since the container runs as a non-root user). Dockerfile.prod fixes this by storing all files (keys and the DB) in
/data.