fix: Use Dockerfile.prod to align with upstream #2

Merged
Ghost merged 1 commits from dockerfile-prod into main 2025-09-10 21:04:50 +00:00

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.

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`.
Ghost added 1 commit 2025-09-10 02:36:16 +00:00
fix: Use Dockerfile.prod to align with upstream
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
0439dc26f9
Ghost requested review from decentral1se 2025-09-10 02:36:20 +00:00
decentral1se approved these changes 2025-09-10 18:23:08 +00:00
Ghost merged commit db2ef385ce into main 2025-09-10 21:04:50 +00:00
Ghost deleted branch dockerfile-prod 2025-09-10 21:04:50 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud-chaos-patchs/docker-writefreely#2
No description provided.