Use the slim base for the Docker image
This saves about 85% of the resulting image size.
This commit is contained in:
parent
5898a46a1b
commit
732566a29c
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
# SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
|
# SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
# Based on Next.js's docker image example
|
# Based on Next.js's docker image example
|
||||||
FROM node:22 AS base
|
FROM node:22-slim AS base
|
||||||
|
|
||||||
# Install dependencies only when needed
|
# Install dependencies only when needed
|
||||||
FROM base AS deps
|
FROM base AS deps
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue