[PR #917] [MERGED] Fix the docker build #1053

Closed
opened 2026-02-05 18:02:25 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/917
Author: @QuintenQVD0
Created: 1/16/2025
Status: Merged
Merged: 1/16/2025
Merged by: @alexevladgabriel

Base: mainHead: docker


📝 Commits (1)

📊 Changes

1 file changed (+36 additions, -21 deletions)

View changed files

📝 Dockerfile (+36 -21)

📄 Description

Changes

  • Implement a multi-stage build: first, use Composer to handle dependencies, then build assets with Yarn and Vite, followed by creating the final container.
  • The sequence is critical since Vite requires Composer dependencies to function correctly.
  • Specify the platform explicitly where necessary for better compatibility.
  • Streamline file transfers between stages, ensuring only a single COPY . . is required.

🔄 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/917 **Author:** [@QuintenQVD0](https://github.com/QuintenQVD0) **Created:** 1/16/2025 **Status:** ✅ Merged **Merged:** 1/16/2025 **Merged by:** [@alexevladgabriel](https://github.com/alexevladgabriel) **Base:** `main` ← **Head:** `docker` --- ### 📝 Commits (1) - [`efbf4df`](https://github.com/pelican-dev/panel/commit/efbf4df2a25ac372cc2b91c41d9a75fbda0fe29a) Fix the docker build ### 📊 Changes **1 file changed** (+36 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+36 -21) </details> ### 📄 Description # Changes - Implement a multi-stage build: first, use Composer to handle dependencies, then build assets with Yarn and Vite, followed by creating the final container. - The sequence is critical since Vite requires Composer dependencies to function correctly. - Specify the platform explicitly where necessary for better compatibility. - Streamline file transfers between stages, ensuring only a single `COPY . .` is required. --- <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 18:02:25 +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#1053