[PR #305] [CLOSED] Optimize the size of the built image #562

Closed
opened 2026-02-25 23:34:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/305
Author: @soulteary
Created: 5/7/2021
Status: Closed

Base: masterHead: docker-update


📝 Commits (1)

  • e31a6e4 Optimize the size of the built image

📊 Changes

2 files changed (+18 additions, -7 deletions)

View changed files

.dockerignore (+7 -0)
📝 Dockerfile (+11 -7)

📄 Description

Inspired by https://github.com/go-shiori/shiori/pull/278 , thanks @n8225

This PR only optimized the final docker image size, eg:

shiori                                        latest                           553f858e15cb   9 minutes ago    13.5MB
radhifadlillah/shiori                         latest                           69e24681b088   8 months ago     422MB

🔄 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/go-shiori/shiori/pull/305 **Author:** [@soulteary](https://github.com/soulteary) **Created:** 5/7/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `docker-update` --- ### 📝 Commits (1) - [`e31a6e4`](https://github.com/go-shiori/shiori/commit/e31a6e41506e41e11b8717164fc1e90fdb7c4d5b) Optimize the size of the built image ### 📊 Changes **2 files changed** (+18 additions, -7 deletions) <details> <summary>View changed files</summary> ➕ `.dockerignore` (+7 -0) 📝 `Dockerfile` (+11 -7) </details> ### 📄 Description Inspired by https://github.com/go-shiori/shiori/pull/278 , thanks @n8225 This PR only optimized the final docker image size, eg: ``` shiori latest 553f858e15cb 9 minutes ago 13.5MB radhifadlillah/shiori latest 69e24681b088 8 months ago 422MB ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:34:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#562
No description provided.