Commit graph

36 commits

Author SHA1 Message Date
7f40c00a49
Update to Python 3.12 2024-01-05 17:09:04 +00:00
9083d5c5fb
Remove server header 2023-11-23 17:44:08 +00:00
c3aea8f176
Use nvm to install Node rather than deprecated nodesource scripts 2023-10-27 17:37:58 +01:00
b8bbc79de4
Upgrade to Node 20 2023-08-19 13:41:39 +01:00
59b7cf96fc
Install cURL when building frontend 2023-07-16 16:22:35 +01:00
f3ee847b28
Match node version in local dev 2023-06-21 11:50:05 +01:00
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
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
41a383800d
Update to Python 3.11 2023-01-11 08:43:45 +00:00
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
9a35ea56a4
Update poetry 2022-11-01 09:10:55 +00:00
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
1e8ec31176 Update Node.js to v19 2022-10-19 08:00:30 +01:00
5c49906da3
Remove apt list and stray packages 2022-09-30 16:04:52 +01:00
8232825a08
Add support for animated GIFs
This does sadly make the container a fair bit bigger...
2022-09-29 19:12:21 +01:00
ce81b23988
Manually remove poetry's cache
`--no-cache` apparently doesn't actually stop using a cache...
2022-09-19 21:34:27 +01:00
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
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
77de830cd5 Update Node.js to v18 2022-09-09 17:15:52 +01:00
ca835a33b4
Run migrations on container start 2022-08-30 09:13:43 +01:00
7e53cf76f4
Install git in container 2022-08-27 20:22:20 +01:00
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
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
0da37bb064
Use slim container for node build 2022-08-27 15:25:28 +01:00
6c19835cac
Remove POETRY_HOME 2022-08-27 15:17:10 +01:00
28f44af7d3
Don't use pip cache when building container 2022-08-27 15:17:10 +01:00
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
a0e88f0f78
Remove root template dir 2022-08-05 08:58:21 +01:00
138773997c
Don't update pip twice 2022-08-03 21:54:56 +01:00
ee9ed8e063
Just install production deps in container 2022-08-03 21:51:27 +01:00
9a15fcbe60
Move gunicorn conf to etc directory 2022-07-29 08:29:50 +01:00
a4c69525fc
Install inotifywait in dev 2022-07-28 20:50:09 +01:00
13c355bf0a
Use pip-tools for dependency management 2022-07-28 18:55:47 +01:00
7132fb743c
Create user to match mine 2022-07-28 18:22:07 +01:00
e2e0144b6a
Setup gunicorn for production WSGI server 2022-07-28 14:53:22 +01:00
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