Cohee
e2d8c0200f
Use custom init script instead of postinstall ( #5384 )
...
* Use custom init script instead of postinstall
* Revert changes to start scripts in src\electron
* feat: add --ignore-scripts flag to npm install commands in batch and shell scripts
* feat: add --ignore-scripts flag to npm ci in Dockerfile
2026-04-01 23:34:00 +03:00
Pavdig
78651bdf56
Docker: Build Optimization and Enhanced Non-Root/Volumeless Support ( #5024 )
...
* docker: optimize build layers and enhance permission handling
- Pre-created hardcoded dirs in Dockerfile to support volumeless non-root runs.
- Enhanced slightly docker-entrypoint.sh with robust volume detection and safer chown logic.
- Included legacy 'backups' directory... again.
- Added dos2unix to install list.
- Updated .dockerignore
- Updated comments
- Smaller fixes
* fix(docker): removed unnecessary comment, and the... *sighs* backups dir, again
* Exclude DS_Store everywhere
* Exclude tests and all jsconfigs from docker images
* Exclude local plugins from docker builds
* fix(docker): backups are back... yay xD
* feat(docker): add robust healthcheck script
- Added `docker/healthcheck.cjs`: A standalone, dependency-free Node.js script for verifying server status.
- Updated `Dockerfile`: Added HEALTHCHECK instruction and script copy step.
- Features: Auto-detects port from env/config, handles IPv4/IPv6 fallback, auto-retries HTTPS on socket hangup, and sets custom User-Agent.
* Fix .dockerignore permission
* Revert "feat(docker): add robust healthcheck script"
This reverts commit fa634fb08884cdef9245a12271cb9a13b487365f.
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2026-01-17 22:51:50 +02:00
Cohee
cd3bed87c1
Merge pull request #4954 from SillyTavern/fix/docker-readonly
...
Update Dockerfile
2026-01-14 01:46:14 +02:00
Cohee
df513868e5
Switch Dockerfile to use npm ci
2025-12-02 10:30:57 +00:00
Cohee
aec8b8db2a
Docker: Update base image to node:lts-alpine3.22
2025-09-13 23:21:16 +03:00
Cohee
1ee3081b5d
Docker: Update Alpine version
2025-06-18 08:40:54 +00:00
Cohee
b093f71ae0
Docker: Add git-lfs package to image
2025-05-17 16:32:42 +03:00
Cohee
12badb3d67
Fix Docker build
2025-04-27 18:29:27 +03:00
Peter Dave Hello
2faaabbf5f
Optimize Dockerfile to use apk add with --no-cache
...
Using the `apk add` command with the `--no-cache` parameter for package installation will prevent the package index from being cached and reduce the image size.
2025-02-23 18:39:22 +08:00
Cohee
dd273a7727
Docker build: Pre-compile public libraries
2025-01-03 12:30:55 +00:00
Cohee
6768264514
Docker: add git safe.directory exclusion
...
Closes #3250
2025-01-01 19:45:34 +02:00
Cohee
9e8277882c
Docker: combine entrypoints
2024-12-11 21:38:39 +02:00
YaraTheNomad
01dec6466c
Docker image now allows passing CLI args to node
2024-12-10 16:05:13 +00:00
Cohee
bfc0837936
Merge branch 'release' into staging
2024-09-19 22:44:55 +03:00
Cohee
15363a8d69
Silence deprecation warnings in default startup scripts
...
Closes #2876
2024-09-19 15:42:07 +00:00
Cohee
b5a60d510d
Update alpine version in dockerfile
2024-08-25 16:17:24 +03:00
Cohee
a3da248e3c
Adapt Docker files to neo-server data migration
2024-04-12 01:32:40 +03:00
Cohee
a7aa5fccf9
Update startup scripts (see below)
...
1. Set NODE_ENV to production and skip dev dependencies when running from scripts.
2. Remove pkg leftovers. Indicate current environment instead.
2024-03-06 22:09:31 +02:00
Cohee
f183f55c74
Update Dockerfile
2024-02-11 15:36:20 +02:00
valadaptive
0ee19d2ede
Set background client-side
2023-12-15 05:45:21 -05:00
Cohee
0648da8d05
Docker fix
2023-11-26 00:41:28 +02:00
Cohee
a7024a1d34
Migrate to config.yaml
2023-11-25 23:45:33 +02:00
Cohee
c0a8186d37
Add assets and update symbolic links in Dockerfile and entrypoint script
2023-11-14 01:30:47 +02:00
Xrystal
df55a66153
Add preset settings to Docker public ( #1204 )
2023-10-01 16:36:52 +03:00
duncannah
1edc2b08f2
Fix Docker by copying post-install.js into image
2023-09-15 20:44:48 +02:00
city-unit
b2dc4c6c1b
Add git to Dockerfile
2023-07-24 00:46:07 -04:00
Cohee
ed86e8de04
#765 Fix docker startup
2023-07-23 16:52:25 +03:00
Cohee
edd41989fd
Initial commit
2023-07-20 20:32:15 +03:00