File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,8 +44,15 @@ cp ../Jellyfin.Plugin.Pgsql/Migrations/JellyfinDbContextModelSnapshot.cs ./Jelly
4444# Set permissions on directories
4545chmod 755 Jellyfin.Plugin.Pgsql Jellyfin.Plugin.Pgsql/Configuration Jellyfin.Plugin.Pgsql/Database Jellyfin.Plugin.Pgsql/Migrations
4646
47+ # Create docker subdirectory for files Dockerfile expects there
48+ mkdir -p docker
49+ cp entrypoint.sh docker/
50+ cp database.xml docker/
51+ cp jellyfindb.load docker/
52+ cp jellyfin.PgsqlMigrator.dll docker/ 2> /dev/null || true
53+
4754# Set permissions on files
48- chmod 644 Dockerfile entrypoint.sh database.xml jellyfin.ruleset Jellyfin.Plugin.Pgsql.sln build.yaml \
55+ chmod 644 Dockerfile docker/ entrypoint.sh docker/ database.xml jellyfin.ruleset Jellyfin.Plugin.Pgsql.sln build.yaml \
4956 Jellyfin.Plugin.Pgsql/Jellyfin.Plugin.Pgsql.csproj \
5057 Jellyfin.Plugin.Pgsql/Plugin.cs \
5158 Jellyfin.Plugin.Pgsql/Configuration/PluginConfiguration.cs \
@@ -64,8 +71,7 @@ chmod 644 Dockerfile entrypoint.sh database.xml jellyfin.ruleset Jellyfin.Plugin
6471tar -czf " $PACKAGE_NAME " \
6572 --uid=0 --gid=0 \
6673 Dockerfile \
67- entrypoint.sh \
68- database.xml \
74+ docker/ \
6975 jellyfin.ruleset \
7076 Jellyfin.Plugin.Pgsql.sln \
7177 build.yaml \
@@ -74,6 +80,7 @@ tar -czf "$PACKAGE_NAME" \
7480# Clean up temporary files
7581rm jellyfin.ruleset Jellyfin.Plugin.Pgsql.sln build.yaml
7682rm -rf Jellyfin.Plugin.Pgsql/
83+ rm -rf docker/
7784
7885# Show package size
7986SIZE=$( ls -lh " $PACKAGE_NAME " | awk ' {print $5}' )
You can’t perform that action at this time.
0 commit comments