Commit Graph

35 Commits

Author SHA1 Message Date
Fallenbagel
24c6208a3c chore: update nodejs to 22 in an attempt to fix undici errors (#1229)
* chore: update nodejs to 22 in an attempt to fix undici errors

This is an attempt to fix the undici errors introduced after the switch
from axios to native fetch. The decision was made as it native fetch on
node 20 seems to be "experimental" and
> since native fetch is no longer experimental since Node 21

* chore: increase the required node version

* build: update nodejs version to 22

* chore: update nodejs version to 22

* chore: update @types/node to v22

* chore(gen-docs): update the gen-docs node engine requirement to 22
2025-01-09 18:24:38 +08:00
Gauthier
f714132909 fix(docker): add postinstall script (#839) 2024-06-24 23:17:00 +05:00
Gauvino
70b9cdde1a build(fix): add missing pnpm command to dockerfile (#835)
Running the container, this error shows up `[FATAL tini (7)] exec pnpm failed: No such file or directory`
2024-06-24 03:45:58 +05:00
Gauthier
989af67c0a refactor: update Next.js, React.js and Node.js (#815)
* refactor: update Next.js and React.js

* refactor: update Next.js images

* refactor: update ESLint rules and fix warnings/errors

* fix: remove old intl polyfill

* fix: add proper size to next/image components

* fix: adjust full-size for next/image components

* fix: temporary allow all domains for image optimization

* build: fixes an issue where dev env could lead to javascript heap out of memory

* fix: resolve webpack cache issue with country-flag-icons

* refactor: switch compiler from Babel to SWC

* fix: resize logo in sidebar

* fix: break word on long path to avoid text overflow

* chore: added sharp for production image optimisation

* fix: change extract script for i18n to a custom script

* fix: resolve GitHub CodeQL alert

* chore: temporarily remove builds for ARMv7

* fix: resize avatar images

* refactor: update Node.js to v20

* fix: resolve various UI issues

* build: migrate yarn to pnpm and restrict engine to node@^20.0.0

* ci: specify the pnpm version to use in workflow actions

* ci: fix typo in pnpm action-setup for cypress workflow

* test(cypress): use pnpm instead of yarn

* style: ran prettier on pnpm-lock

* ci(cypress): setup nodejs v20 in cypress workflow

* ci: pnpm cache to reduce install time

* ci: use sh shell to get pnpm store directory

* build(dockerfile): migrate to pnpm from yarn in docker builds

* build(dockerfile): copy the proper pnpm lockfile

* build: install pnpm for all platforms

* build(dockerfile): remove unnecessary `&&` on apk installation steps

* build: migrate pnpm 8 to 9

* build(dockerfile): add node-gyp back in

* build(dockerfile): install node-gyp through npm

* build(dockerfile): ignore scripts to not run husky install when devdependencies are pruned

* build: migrate to pnpm from yarn

* chore: remove a section that is no longer relevant

---------

Co-authored-by: fallenbagel <98979876+Fallenbagel@users.noreply.github.com>
2024-06-23 23:43:54 +02:00
fallenbagel
be335c39be ci(build): implement github repository container images
fix #370
2023-11-08 04:57:20 +05:00
Ryan Cohen
e297d25603 build: add global node-gyp for arm (#3676) 2023-11-06 18:56:57 +09:00
Ryan Cohen
89287af096 build: use node 18 (#3675) 2023-11-06 18:48:02 +09:00
Ryan Cohen
a45fc86032 build: do not link python for arm (#3670) 2023-11-05 20:43:58 +09:00
Ryan Cohen
59dabed380 build: update node to 20.9 (#3668) 2023-11-05 19:18:21 +09:00
renovate[bot]
f836cadd23 chore(deps): update node.js to v16.17 (#2941)
* chore(deps): update node.js to v16.17

* chore(deps): also bump node.js in snapcraft.yaml

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>
2022-08-18 20:44:18 +09:00
TheCatLady
233035dbd7 build(docker): downgrade to node 16.16 (#2921) 2022-08-17 13:10:11 +09:00
TheCatLady
114943ae2c build(docker): skip cypress install & bump node version (#2920) 2022-08-17 12:46:03 +09:00
TheCatLady
a229b15e7a build(deps): bump dependencies (#2584)
* build(deps): bump dependencies

* build(ci): disable broken snap builds
2022-03-13 19:27:39 +00:00
TheCatLady
8cba486249 fix: address unhandled promise rejections & bump node to v16.13 (#2398)
* fix: unhandled promise rejections

* build(deps): bump node from 14.18 to 16.13

* fix: unhandled promise rejection in new Plex users endpoint

* fix: build error

Co-authored-by: Ryan Cohen <ryan@sct.dev>
2022-01-27 20:00:30 +09:00
TheCatLady
b4b2acd4fc build(docker): reduce image size (#2392) 2022-01-09 23:16:50 +09:00
TheCatLady
f1cd0878a5 fix(docker): explicitly install python3 (#2273) [skip ci] 2021-11-11 13:08:22 +09:00
TheCatLady
54e9071e90 build(deps): bump node to 14.18 (#2209) [skip ci] 2021-10-16 22:17:43 +09:00
TheCatLady
0db0d4c280 build(deps): bump node to 14.17 and drop uuid in favor of native randomUUID (#1792) 2021-06-17 13:12:09 +09:00
TheCatLady
2fc9835a6a build(docker): refactor Dockerfile to enable caching of node_modules (#1550)
* ci: revert actions/cache version change and install GNU tar

* ci: do not potentially destroy Docker cache while building preview images

* build(docker): refactor Dockerfile to cache node_modules

* ci: remove Next.js caching

* build(docker): don't break arm builds
2021-05-03 22:13:23 +09:00
sct
9d0b52a242 ci: add network-timeout to yarn install 2021-03-06 15:17:04 +00:00
ᗪєνιη ᗷυнʟ
9966632c64 ci: build arm64 and amd64 container images for ci images (#1036) 2021-03-06 09:50:28 +00:00
ᗪєνιη ᗷυнʟ
1629d02f3d feat(docker): add tini to docker image (#1017) 2021-03-03 23:50:53 +00:00
TheCatLady
253ec15bc4 build(docker): bump node from 14.15 to 14.16 (#1057)
Node v14.x (LTS) update from 2021-02-23 includes vulnerability fixes
https://nodejs.org/en/blog/release/v14.16.0/
2021-03-02 13:11:07 +00:00
TheCatLady
1e5f88f462 feat(docker): Check for /app/config volume mount during setup (#826) 2021-02-04 10:45:30 +09:00
TheCatLady
b576f0734f build(docker): Optimize Docker image layers/caching & bump node to 14.15 (#776)
* refactor(docker): Combine RUN statements to reduce number of image layers

* Add --update && --no-cache to apk add command

* Combine RUN statements in first stage

* Consolidate COPY commands from BUILD_IMAGE

* Add docs & snap to .dockerignore

* Revert first COPY statement in 2nd stage

* Write committag.json in first stage & only do one COPY
Also pin base image Alpine version, and add Docker & GitHub Actions update monitoring via Dependabot

* Bump node to 14.15.4

* Change base image to node:14.15-alpine and remove Dependabot Docker monitoring

* Changes in response to PR comments

* Remove ARG/ENV statements from second build stage
2021-02-03 09:52:56 +09:00
sct
55f9e41f1b build: write commit tag to json file inside docker image 2020-12-27 17:08:25 +00:00
sct
289864af1a fix(build): fixes build to include commit tag for app build step 2020-12-27 10:33:44 +00:00
sct
53bede692d feat: add missing tzdata package to image
re #394
2020-12-19 11:32:17 +09:00
sct
5e5ba40505 fix: change default internal port to 5055 (#389) 2020-12-19 00:12:41 +09:00
sct
3f2a04c881 feat: about page initial version
Adding something to the about page for now, including the app version to better know what versions
of the app people are running
2020-12-15 07:27:30 +00:00
salty
34136ef617 build(dockerfile): Expose port 3000. (#278)
Allows for automated nginx reverse proxy setups to identify the port used in the container without having to bind the port to the host/localhost.
2020-12-15 10:57:01 +09:00
sct
3ef50396cd build: switch to multi-stage docker build to reduce size 2020-11-24 15:31:29 +00:00
sct
44b419e5da build: further shrinkage for the docker build 2020-11-24 15:01:28 +00:00
sct
f8c01fbc83 build: remove dev dependencies for production docker build 2020-11-24 10:39:12 +00:00
sct
f2487d920f build(docker): added Dockerfiles for local/prod (prod untested)
Also adds docker-compose.yml for development
2020-08-22 10:24:37 +00:00