Skip to content

Conversation

twaslowski
Copy link

@twaslowski twaslowski commented Aug 7, 2025

As reported in #136, the data.txt file is created if it does not exist at /app/data.txt (or wherever the DATA environment variable points to). This can cause failures due to lacking permissions. This PR fixes the Dockerfile to make sure that the user running the container entrypoint has permissions to create /app/data.txt.

Additionally, I've added a docker-compose.yaml that speeds up first steps; it behaves pretty much the same as what was previously outlined in the README.

@twaslowski twaslowski changed the title feat: add docker-compose file for quickstart and testing feat: add docker-compose file for quickstart and testing; fix Docker image permissions Aug 7, 2025
@twaslowski twaslowski force-pushed the feat/docker-compose branch from 2d1fc0c to b7ba429 Compare August 7, 2025 12:59
@twaslowski twaslowski changed the title feat: add docker-compose file for quickstart and testing; fix Docker image permissions fix: Docker user permissions when writing to data.txt Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant