Commit Graph

5 Commits

Author SHA1 Message Date
codl c82c15e0da further dockerfile caching and size optim
nodejs and js libraries are only needed at build time
2022-08-05 02:23:54 +02:00
codl 30b7b24e68 lots of docker nitpicks
- changed all service names to not include "forget", let docker-compose
  generate container names

- gave the image a single name

- listen on 127.0.0.1 by default, provide documented override file that
  reverses it

- docs: on that note: don't tell folks to edit docker-compose.yml directly

- docs: explicitly say "run docker-compose build" because docker-compose
  is janky and it can be surprising that downloading a new version of
  the code and running `docker-compose up` doesn't do anything
2022-08-05 02:23:54 +02:00
codl fddcbbe8a0 reorganize dockerfile for better build cache usage
also lock some versions

ideally I wouldn't have to copy each of these directories separately and
have a janky stage to hide all the resulting layers, but docker do be like that.
`COPY dir1 dir2 ./` copies *the contents of* dir1 and dir2 to the
working directory :(

maybe one day i will switch to having a src directory
2022-08-05 01:39:36 +02:00
shibao 59095ae1ef get rid of celery logfiles 2022-07-30 19:21:52 -04:00
shibao 659bb1dfb8 add docker stuff 2022-07-30 03:39:39 -04:00