Ralf Vogler
1c38f730ab
docker: run both epic-games and prime-gaming by default
2022-12-24 15:20:45 +01:00
Ralf Vogler
67e622e6ec
docker: move firefox install up to other apt deps; --with-deps needed!
...
Without --with-deps we get and error starting the browser:
node:internal/process/esm_loader:108
internalBinding('errors').triggerUncaughtException(
^
browserType.launchPersistentContext:
╔══════════════════════════════════════════════════════╗
║ Host system is missing dependencies to run browsers. ║
║ Please install them with the following command: ║
║ ║
║ npx playwright install-deps ║
║ ║
║ Alternatively, use apt: ║
║ apt-get install libgtk-3-0\ ║
║ libasound2\ ║
║ libxcomposite1\ ║
║ libpangocairo-1.0-0\ ║
║ libpango-1.0-0\ ║
║ libatk1.0-0\ ║
║ libcairo-gobject2\ ║
║ libcairo2\ ║
║ libgdk-pixbuf-2.0-0\ ║
║ libdbus-glib-1-2\ ║
║ libxcursor1 ║
║ ║
║ <3 Playwright Team ║
╚══════════════════════════════════════════════════════╝
at async file:///fgc/prime-gaming.js:25:17 {
name: 'Error'
}
2022-12-24 15:02:28 +01:00
Ralf Vogler
8ce6c2fdc9
docker: hadolint: pipefail
...
Can't do the recommended --no-install-recommends for curl because
otherwise it has problems with certificates:
curl: (77) error setting certificate file: /etc/ssl/certs/ca-certificates.crt
2022-12-24 14:46:40 +01:00
Ralf Vogler
3c4f79a1ed
docker: upgrade Ubuntu 20.04 (focal) -> 22.04 (jammy), +60MB
2022-12-24 14:37:02 +01:00
Ralf Vogler
0ad324b756
docker: upgrade node 16 -> 19, +60MB
2022-12-23 00:28:49 +01:00
Ralf Vogler
c44d1641ea
cleanup Dockerfile, merged apt runs -> saved ~90MB
...
Image size from 1.04GB to 952MB.
2022-12-21 09:05:30 +01:00
Ralf Vogler
34393eec76
pg: also use firefox
...
Dropping chromium reduced image size by ~500MB from 1.55GB to 1.04GB.
2022-12-21 01:25:32 +01:00
Ralf Vogler
ba545632f5
docker: also install firefox
2022-12-17 00:27:15 +01:00
gladiopeace
b49862060c
fix copy multiple files
...
when copying multiple files you need to point to a directory rather a single file "."
2022-11-30 03:16:51 +02:00
Ralf Vogler
fbc33ffcaf
same resolution for docker as for browser
2022-10-20 21:20:15 +02:00
Ralf Vogler
a789034c51
clean up Dockerfile and move down config such that it does not trigger rebuild
2022-10-20 20:45:44 +02:00
Ralf Vogler
9f0e50afb6
remove VNC_PASSWORD
...
Usually behind firewall and process is short-lived, except for when no longer logged in.
2022-10-20 20:09:12 +02:00
Ralf Vogler
ef72506431
docker: respect package-lock.json, not just package.json
2022-10-20 19:55:42 +02:00
Kilian von Pflugk
a468ed5fed
fix restart issue
2022-08-28 13:53:57 +02:00
Ralf Vogler
a1eec65869
Dockerfile: dos2unix ./docker/*.sh, #15
...
https://stackoverflow.com/questions/51508150/standard-init-linux-go190-exec-user-process-caused-no-such-file-or-directory
2022-05-04 02:04:04 +02:00
Trung Le
7971be297c
feat: use novnc, fix Thank you for buying timeout
2022-04-09 14:50:42 +07:00
Trung Le
dbf4804dc7
fix: reduce size, fix signin redirect
...
* correct freegames url
* skip downloading browsers in docker
* remove fluxbox
* remove stdout for vnc & xvfb
2022-04-01 01:47:48 +07:00
Trung Le
a8c578bd93
feat: dockerize, fix sign in loop
2022-03-31 03:06:01 +07:00