build: Apply patches correctly during Docker image build

Closes #1375
This commit is contained in:
Maksim Eltyshev
2025-10-10 12:43:34 +02:00
parent a52b41207a
commit ab0dbc4b7f
2 changed files with 7 additions and 8 deletions

View File

@@ -6,6 +6,7 @@ RUN apk -U upgrade \
WORKDIR /app
COPY server/package.json server/package-lock.json server/requirements.txt ./
COPY server/patches ./patches
RUN npm install npm --global \
&& npm install --omit=dev

View File

@@ -41,14 +41,12 @@ const NotificationsStep = React.memo(({ onClose }) => {
<Item key={notificationId} id={notificationId} onClose={onClose} />
))}
</div>
{notificationIds.length > 1 && (
<Button
fluid
content={t('action.dismissAll')}
className={styles.deleteAllButton}
onClick={handleDeleteAllClick}
/>
)}
<Button
fluid
content={t('action.dismissAll')}
className={styles.deleteAllButton}
onClick={handleDeleteAllClick}
/>
</>
) : (
t('common.noUnreadNotifications')