Commit Graph

12 Commits

Author SHA1 Message Date
ee7e9ef2a3 build: setup docker-compose.dev.yml dev iteration
This is based off of the 5-commit branch at
https://github.com/neobooru/szurubooru/blob/docker-development-setup.

Compared to said branch, we
* Exclude extraneous changes such as
    * Any formatting
    * The use of deprecated/ineffectual top-level `version:` in composer files
* Support controlling $THREADS (modernizing the branch to upstream)
* Integrate into master more cleanly

However, client/docker-start-dev uses a temporary hack -- due to
volume mounting overwriting node_modules at arbitrary points during the
`docker compose build` step, we run `npm i` before any given
`npm run watch`.

To see the effects of this commit in action, run:

    docker compose -f ./docker-compose.dev.yml up
2025-05-23 20:05:15 +02:00
98c0941c97 client/docker: Do not pin LTS version of Node
See: https://github.com/npm/cli/wiki/Support-Policy#long-term-support-lts
2021-11-29 18:09:56 -05:00
c3b81371d8 client+server/docker: fix ARM build platform issue 2021-09-19 12:03:32 -04:00
3cabe790a7 client/build: update builder image Node.js version to LTS
Fixes #412
The older stylus version throws some warnings in Node.js LTS. The new one doesn't.
2021-06-04 17:12:21 +02:00
e656a3c46a server/docker: unify test and main Dockerfiles 2020-08-28 14:43:10 -04:00
6f549cf2db client: update NPM lockfile
Merges #288 #290 #291
2019-11-03 19:54:33 -05:00
9c04400369 docker: added OCI-compatible image labels
See https://github.com/opencontainers/image-spec/blob/master/annotations.md
2019-10-04 19:52:57 -04:00
6da18036a4 client/docker: improved Dockerfile 2019-09-28 19:53:28 -04:00
7081b5be90 client/app: Fixed relative links in app manifest 2018-12-22 12:31:25 +01:00
a5a06bf2d1 client/build: Clean up build process
Fixes incorrect URIs of iOS splash screens and OpenSans font
Files get gzipped inside build script
Better nginx configuration
build.js uses more consistent, synchronous code
2018-12-22 12:31:25 +01:00
565027269c client/js/router.js: Reads <base> href tag 2018-08-23 21:04:19 +02:00
6a6c4dc822 build: add Docker functionality and documentation 2018-07-25 13:39:57 +02:00