Commit Graph

30 Commits

Author SHA1 Message Date
Jake Howard 4326dc2299
Add helper entrypoint scripts
This keeps the configuration for what to run inside the container, without adding the extra weight and config of s6
2023-02-22 08:53:42 +00:00
Jake Howard d8a8e7fd8e
Use nginx to serve static files
This should keep easy requests out the app event loop, hopefully improving response time
2023-02-21 21:46:26 +00:00
Jake Howard 41a383800d
Update to Python 3.11 2023-01-11 08:43:45 +00:00
Jake Howard df4dc64058
Replace poetry with pip
The lockfile issues, the extra bloat, I'm done.

Waiting for hatch to be supported by renovate.
2022-11-03 13:54:31 +00:00
Jake Howard 9a35ea56a4
Update poetry 2022-11-01 09:10:55 +00:00
Jake Howard 9fc4540bfa
Decrease verbosity on `collectstatic`
Yes it's a fun pseudo progress indication, but it's unnecessary and spams the logs
2022-10-30 19:16:25 +00:00
Renovate 1e8ec31176 Update Node.js to v19 2022-10-19 08:00:30 +01:00
Jake Howard 5c49906da3
Remove apt list and stray packages 2022-09-30 16:04:52 +01:00
Jake Howard 8232825a08
Add support for animated GIFs
This does sadly make the container a fair bit bigger...
2022-09-29 19:12:21 +01:00
Jake Howard ce81b23988
Manually remove poetry's cache
`--no-cache` apparently doesn't actually stop using a cache...
2022-09-19 21:34:27 +01:00
Jake Howard 692421a6c3 Merge branch 'renovate/node-18.x' into 'master'
Update Node.js to v18

See merge request repos/website!9
2022-09-13 19:23:14 +01:00
Jake Howard 72642d948f
Embrace poetry
pip-tools doesn't work well on renovate, and also makes some things annoying. Poetry has been a pain in the past, but let's see if intense usage will win me over.
2022-09-13 14:52:06 +01:00
Renovate 77de830cd5 Update Node.js to v18 2022-09-09 17:15:52 +01:00
Jake Howard ca835a33b4
Run migrations on container start 2022-08-30 09:13:43 +01:00
Jake Howard 7e53cf76f4
Install git in container 2022-08-27 20:22:20 +01:00
Jake Howard 6272307e35
Stop removing dependencies
The container is layered, and this layer is in there. Until the layers are removed, it doesn't make any difference
2022-08-27 19:01:14 +01:00
Jake Howard c6776faa8c
Use slim container variant
This reduces the size of the container, which makes working with it much easier
2022-08-27 18:44:05 +01:00
Jake Howard 0da37bb064
Use slim container for node build 2022-08-27 15:25:28 +01:00
Jake Howard 6c19835cac
Remove POETRY_HOME 2022-08-27 15:17:10 +01:00
Jake Howard 28f44af7d3
Don't use pip cache when building container 2022-08-27 15:17:10 +01:00
Jake Howard 10b32da3e0
Add crontab to project
Cron will likely be a duplicate compose service with a different
command.
2022-08-20 20:48:27 +01:00
Jake Howard a0e88f0f78
Remove root template dir 2022-08-05 08:58:21 +01:00
Jake Howard 138773997c
Don't update pip twice 2022-08-03 21:54:56 +01:00
Jake Howard ee9ed8e063
Just install production deps in container 2022-08-03 21:51:27 +01:00
Jake Howard 9a15fcbe60
Move gunicorn conf to etc directory 2022-07-29 08:29:50 +01:00
Jake Howard a4c69525fc
Install inotifywait in dev 2022-07-28 20:50:09 +01:00
Jake Howard 13c355bf0a
Use pip-tools for dependency management 2022-07-28 18:55:47 +01:00
Jake Howard 7132fb743c
Create user to match mine 2022-07-28 18:22:07 +01:00
Jake Howard e2e0144b6a
Setup gunicorn for production WSGI server 2022-07-28 14:53:22 +01:00
Jake Howard 97d786e969
Move development into docker
This makes working with related services like redis much easier, and
helps start writing a production container
2022-07-28 14:42:12 +01:00