Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker fixes #212

Merged
merged 6 commits into from
Oct 3, 2024
Merged

Docker fixes #212

merged 6 commits into from
Oct 3, 2024

Conversation

freesteph
Copy link
Contributor

🎯 Objectif

Quelques correctifs pour lancer le projet via Docker, voir la liste des commits pour le détail.

A classic case of:

1. a Docker container gets its own filesystem ;
2. it runs a process that creates a thing (here: the "staticfiles"
directory) ;
3. we mount our local directory over /app (to get live changes) ;
4. that shadows the only-in-Docker-FS "staticfiles".

See [1] for a similar case.

[1]: betagouv/rails-template@1f69642
@freesteph
Copy link
Contributor Author

@Ash-Crow

Makefile Outdated Show resolved Hide resolved
* index: use the exec wrapper ;
* init: don't try to reinstall things, focus on the actual init.
@Ash-Crow Ash-Crow merged commit 0bd3988 into numerique-gouv:main Oct 3, 2024
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.

2 participants