[PR #647] [MERGED] Speed up docker start #874

Closed
opened 2026-02-05 17:57:12 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/647
Author: @Freddo3000
Created: 10/20/2024
Status: Merged
Merged: 10/21/2024
Merged by: @lancepioch

Base: mainHead: hotfix/speedup-docker-start


📝 Commits (1)

📊 Changes

2 files changed (+3 additions, -2 deletions)

View changed files

📝 .github/docker/entrypoint.sh (+1 -1)
📝 Dockerfile (+2 -1)

📄 Description

Starting the docker container is hampered due to setting chown -R www-data:www-data /var/www/html/ on every start, causing it to traverse the entire directory which in our use case is very slow. This PR instead changes it to set permissions as part of the build process.

Sidenote: Is LE_EMAIL supposed to be used in addition to ADMIN_EMAIL?


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/647 **Author:** [@Freddo3000](https://github.com/Freddo3000) **Created:** 10/20/2024 **Status:** ✅ Merged **Merged:** 10/21/2024 **Merged by:** [@lancepioch](https://github.com/lancepioch) **Base:** `main` ← **Head:** `hotfix/speedup-docker-start` --- ### 📝 Commits (1) - [`bbd7daa`](https://github.com/pelican-dev/panel/commit/bbd7daa89c08377d126df0ba951706fddc0923c7) Speed up docker start ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.github/docker/entrypoint.sh` (+1 -1) 📝 `Dockerfile` (+2 -1) </details> ### 📄 Description Starting the docker container is hampered due to setting `chown -R www-data:www-data /var/www/html/` on every start, causing it to traverse the entire directory which in our use case is very slow. This PR instead changes it to set permissions as part of the build process. Sidenote: Is `LE_EMAIL` supposed to be used in addition to `ADMIN_EMAIL`? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 17:57:12 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#874