Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 55f479ee9f
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| && cd frontend && bun install --frozen-lockfile && bun run build \ | ||
| && apt-get purge -y curl unzip && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| RUN python manage.py collectstatic --noinput |
There was a problem hiding this comment.
Run collectstatic with production settings
RUN python manage.py collectstatic --noinput now runs under manage.py’s default settings module (config.settings.development in this commit), so image builds generate static files with development storage instead of production’s manifest-based storage. In production containers (DJANGO_SETTINGS_MODULE=config.settings.production), this can cause missing-manifest/static resolution failures when templates render {% static %} assets. Please force production settings for this build step (for example with --settings=config.settings.production or an explicit env var) so collectstatic outputs the runtime-compatible manifest.
Useful? React with 👍 / 👎.
Improve DX, bump versions, fix minor bugs, change deployment to EC2 instead of Heroku