Commit graph

26 commits

Author SHA1 Message Date
Kroese b3d667edb4
Update Dockerfile to Node 21 (#2315) 2024-01-10 19:14:18 -05:00
ubergeek77 a0add1e61c
Clean up Dockerfile (#2314)
* Clean up Dockerfile

* Reduce image size

Recommended by @kroese
2024-01-10 18:50:00 -05:00
SleeplessOne1917 659d5f78d8
Revert "fix: Build on native platform (#2261)" (#2262)
This reverts commit 07aba95f19.
2023-12-01 07:17:54 -05:00
Kroese 07aba95f19
fix: Build on native platform (#2261) 2023-11-30 22:09:41 -05:00
Kroese 639aa28245
Multi-platform Dockerfile (#2235)
* Multi-platform Dockerfile

* Add ARM64 build to Woodpecker

* Sharp 0.32.6 is in package.json now

* Add Docker Healthcheck

* 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.

* Fixing babel build.

* Removing node-prune.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2023-11-27 07:32:04 -05: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
Dessalines 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
Dessalines f8a05ea0f0 more apk deps. 2021-01-04 10:56:37 -05:00
Dessalines c9de0c5b46 Try to add python. 2021-01-04 10:51:51 -05:00
Dessalines 78d2fb9ce1 Removing node-prune. 2021-01-04 10:44:06 -05:00
Dessalines 99b9afc52e Fixing apk install. 2021-01-04 10:41:08 -05:00
Dessalines e5b6367562 Trying a regular node for arm. 2021-01-04 10:38:04 -05:00
Dessalines 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
Dessalines 1f4f912efa Set up docker deploys. Fixes #4 2020-09-10 14:49:33 -05:00
Dessalines 1ab6f90599 Fixing docker
Adding service worker
Adding a sigint
2020-09-10 11:39:01 -05:00
Dessalines 2a1aabd773 Somewhat working dockerfile, without the networking. 2020-09-09 18:56:02 -05:00
Dessalines 241ef72290 Somewhat working webpack. Sponsors and communities pages done. 2020-09-06 22:41:46 -05:00