Glassed Silver
e290dc0a25
Fixing permissions of ffmpeg and ffprobe
...
Since we didn't specify UID and GID in copy command before, they were run as root causing permissions conflicts
The ffmpeg stage doesn't need the env variables henceforth
2022-05-04 15:11:35 +02:00
GlassedSilver
8336d886e9
fix-scripts need to be owned and run by root
2022-05-04 12:16:58 +02:00
GlassedSilver
6a56b5b065
add fix-scripts to docker image
2022-05-04 11:59:45 +02:00
GlassedSilver
8cc5c4f733
no need for suexec anymore apparently
2022-05-04 10:16:49 +02:00
GlassedSilver
d0f5518d31
suexec needs to be installed
2022-05-03 09:44:43 +02:00
GlassedSilver
713a97f75a
reintegrate suexec
2022-05-03 08:44:55 +02:00
GlassedSilver
8e4a3119ab
🚀 bye unnecessary build cleanups (not last stage)
2022-05-03 08:25:38 +02:00
GlassedSilver
44c1a34c67
Permissions fix for ffmpeg executable
2022-05-02 13:33:20 +02:00
GlassedSilver
9f740020af
possible fix
2022-05-02 13:14:57 +02:00
GlassedSilver
4d4bc76549
Use Ubuntu 22.04, use nodejs from ubuntu repo
2022-05-02 12:59:34 +02:00
GlassedSilver
93ce498e94
switch to ubuntu 21.10 as we wait for nodesource
2022-05-02 08:20:48 +02:00
Glassed Silver
d5626f1dae
Dockerfile: wget not needed
2022-05-01 23:29:51 +02:00
GlassedSilver
9c0733453a
removing strict SSL from npm config
2022-05-01 23:00:01 +02:00
Glassed Silver
2a41028253
Update Dockerfile
2022-05-01 20:42:45 +02:00
dejan.petrov@dapmn.com
2cdc1cee98
Fix for #585
...
Added the DEBIAN_FRONTEND=noninteractive variable to all stages. This should stop the build from failing.
Also added --no-install-recommends to install only the requested packages.
This might break stuff, but I'm not sure though.
2022-05-01 18:14:27 +02:00
dejan.petrov@dapmn.com
bd1ed2b705
Clean up docker image
...
Added some commands to clean up the image after apt-get does its thing.
It should shave off a couple of megabytes, nothing to big though.
2022-05-01 18:02:46 +02:00
GlassedSilver
d5ab0d7b96
I'm getting sleepy, why am I still pushing through
2022-05-01 11:54:19 +02:00
GlassedSilver
777aebe508
apparently we still need npm in the last stretch..
2022-05-01 11:52:35 +02:00
GlassedSilver
efaecaa059
use yarn in apt installs instead of npm
2022-05-01 11:48:12 +02:00
GlassedSilver
39ddefab5c
fix dependencies needed for our apt packages
2022-05-01 11:37:39 +02:00
GlassedSilver
60f2ab449f
yea
2022-05-01 11:31:53 +02:00
GlassedSilver
958f80e200
the good? I learn a lot about Docker building
2022-05-01 11:28:34 +02:00
GlassedSilver
7aa5c1bf7f
syyyyntax
2022-05-01 11:21:45 +02:00
GlassedSilver
3bcbe0d3e7
fix dependency node-gyp (>= 3.6.2~) needed
2022-05-01 11:04:59 +02:00
GlassedSilver
80fcecdaea
it's a learning experience
2022-05-01 10:57:21 +02:00
GlassedSilver
0329cd9718
don't think we need to install curl twice lol
2022-05-01 10:51:20 +02:00
GlassedSilver
493e876a97
syntax fixes are fun
2022-05-01 10:48:27 +02:00
GlassedSilver
7874f1b71a
curl is in fact missing in focal, my bad
2022-05-01 06:29:54 +02:00
GlassedSilver
960c545f37
Dockerfile uses Ubuntu 20.04, fix obtain ffmpeg
2022-05-01 05:14:31 +02:00
GlassedSilver
7f61ccb5f5
Use fixed version of musl to fix DNS errors
2022-04-26 04:46:05 +02:00
GlassedSilver
f79b254040
using more recent ffmpeg + code cleanup
2022-04-18 07:29:28 +02:00
GlassedSilver
74f5a9983d
revert ffmpeg changees
2022-04-18 01:56:16 +02:00
GlassedSilver
de79efafa6
try to fix ffmpeg install from edge
2022-04-17 23:46:08 +02:00
GlassedSilver
f11baf6d4b
fix missing \ in DOCKEFILE
2022-04-17 21:38:01 +02:00
GlassedSilver
9e35e0fe4d
Switch to alpine edge community repo for ffmpeg
2022-04-17 21:15:52 +02:00
Isaac Abadi
45be270b6f
Dockerfile forces PM2_HOME to be in /app directory
2021-09-30 08:55:38 -06:00
Isaac Abadi
f0c3837ee5
Translation JSONs are now generated at build time, removing the necessity to manually run xliff-to-json
...
- added postbuild.mjs to facilitate this
- all ng build --prod's have been replaced with npm run build
2021-09-29 00:36:56 -06:00
Isaac Abadi
dbeeb32d48
Updated Dockerfile and entrypoint to use pm2 instead of forever
2021-09-27 18:11:38 -06:00
Isaac Abadi
46087f622e
Switched forever.js to pm2
...
Updated winston
2021-09-26 02:40:05 -06:00
GlassedSilver
f7e0b3e86b
[DRAFT!] Bump alpine: pinned '3.12' → 'latest'
2021-09-18 17:22:11 +02:00
Isaac Abadi
ce8f90ca1d
Reverted python3->python dockerfile changes and re-added python2 to dockerfile
2021-07-22 02:13:11 -06:00
Isaac Abadi
f0e73c1708
python3 now aliases as python in Dockerfile
2021-07-22 01:50:51 -06:00
Isaac Abadi
aa1e36ae35
Updated dockerfile to download python3 for yt-dlp support
2021-07-21 23:59:00 -06:00
Isaac Abadi
de154a9c3e
Updated dockerfile to fix UID/GID bug related to forever.js
2021-05-12 21:57:42 -06:00
Isaac Abadi
addd54fefd
Switched nodemon to foreverjs to hopefully enable restarting internally and fix runtime errors
2021-03-20 16:22:59 -06:00
Isaac Abadi
aefdde5401
Fixed issue (hopefully) where nodemon is not properly installed on Docker
2021-03-18 20:59:46 -06:00
Isaac Abadi
4c1f975eae
Force nodemon to install during the container setup
...
Docker now starts through nodemon directly
2021-03-18 19:29:03 -06:00
Isaac Abadi
4c06bc750c
Fixed issue where on some Docker environments the container failed to start due to the error "nodemon update check failed"
2021-03-17 19:13:52 -06:00
Isaac Abadi
4643efbae0
Added ability to restart the server from the frontend
...
Dockerfile/entrypoint.sh now uses nodemon enabling restarting from the UI in a container
2021-03-16 22:41:07 -06:00
Isaac Abadi
72fa439569
Dockerfile now uses angular CLI directly for building process
2020-08-15 13:43:14 -04:00