mirror of
https://github.com/fergalmoran/kidarr-server.git
synced 2026-01-20 15:45:42 +00:00
10 lines
325 B
Docker
10 lines
325 B
Docker
FROM oven/bun:alpine AS base
|
|
|
|
# 1. Install dependencies only when needed
|
|
FROM base AS deps
|
|
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
|
|
|
|
WORKDIR /app
|
|
COPY package.json bun.lockb ./
|
|
RUN bun install --frozen-lockfile
|