Commit graph

25 commits

Author SHA1 Message Date
Kroese
3c111c0d45
Prevent 'Inferno is in development mode' message
Currently Inferno runs in development mode because NODE_ENV=production was not set. This has a negative effect on performance, and for debugging purposes developers can override this flag in their Docker composefile.
2023-11-27 02:20:09 +01:00
Kroese
b1eb3adf54
Add Docker Healthcheck 2023-11-27 02:17:56 +01:00
Kroese
fd800a703c
Sharp 0.32.6 is in package.json now 2023-11-27 01:41:26 +01:00
Kroese
2a5b7f2373
Multi-platform Dockerfile 2023-11-26 23:33:45 +01:00
Dessalines
538fb5e28c
Updating for new v19 changes. (#2191)
* Updating for new v19 changes. WIP.

* Fixing package json.

* Updating for new lemmy-js-client.

* Trying to add node-sass

* Revert "Trying to add node-sass"

This reverts commit 959ea0de13.

* Trying node:20-alpine
2023-10-19 20:47:28 -04:00
Derek Vanderveer
68f0b654d4
Add curl for basic healthcheck (#2186) 2023-10-19 02:41:18 -04:00
Dessalines
ff98c2428d
Fixing broken docker build due to missing rxjs. (#2174) 2023-10-05 17:11:31 -04:00
cmp
462bdb10c9
Use the 'node' user instead of root when running. (#1894) 2023-07-10 10:50:25 -04:00
08370d4c4e Try increasing node memory. 2023-06-29 11:12:12 -04:00
Peter Willemsen
48ced9bd34
hardcoded node version due to bug "Text file busy" error introduced in node 20.3 (#1320)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-16 11:45:36 -04:00
SleeplessOne1917
b19b51c78c
Add support for PWA (#1005)
* Add logic for dynamically generating web manifest

* Make PWA icon get autogenerated

* Make service worker work

* Tweak things for PWA

* Handle apple icons and refactor

* Update prod dockerfile

* Remove jimp

* Remove unnecessary option

* Use different function syntax
2023-05-11 21:07:59 -04:00
Dessalines
4983cb82b5
Cleanup docker builds (#829)
* Making docker builds smaller. Fixes #828

* Running sortpack
2022-10-21 15:28:18 -04:00
Dessalines
90aede3c2e
Using newer alpine image (#392) 2021-09-03 08:23:55 -04:00
Dessalines
7f348fd074
Add UI version to UI via docker. Fixes #263 (#278)
* Add UI version to UI via docker. Fixes #263

* Adding git fetch tags to CI.
2021-04-26 09:57:41 -04:00
f8a05ea0f0 more apk deps. 2021-01-04 10:56:37 -05:00
c9de0c5b46 Try to add python. 2021-01-04 10:51:51 -05:00
78d2fb9ce1 Removing node-prune. 2021-01-04 10:44:06 -05:00
99b9afc52e Fixing apk install. 2021-01-04 10:41:08 -05:00
e5b6367562 Trying a regular node for arm. 2021-01-04 10:38:04 -05:00
368d4199a5 Actually sending ws requests, some other fixes. 2020-12-24 17:05:57 -05:00
Mischa Spiegelmock
c0be783cc4 COPY requires / suffix 2020-10-23 15:14:42 +03:00
1f4f912efa Set up docker deploys. Fixes #4 2020-09-10 14:49:33 -05:00
1ab6f90599 Fixing docker
Adding service worker
Adding a sigint
2020-09-10 11:39:01 -05:00
2a1aabd773 Somewhat working dockerfile, without the networking. 2020-09-09 18:56:02 -05:00
241ef72290 Somewhat working webpack. Sponsors and communities pages done. 2020-09-06 22:41:46 -05:00