mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
fix: 👷 Correctly add Node during Docker build
This commit is contained in:
parent
65abaa9c7b
commit
74b194b1f4
|
|
@ -1,10 +1,8 @@
|
|||
FROM oven/bun:1.1.18-alpine AS base
|
||||
# Node is required for building the project
|
||||
FROM imbios/bun-node:1.1.18-20-alpine AS base
|
||||
|
||||
RUN apk add --no-cache libstdc++
|
||||
|
||||
# Add Node.js
|
||||
COPY --from=node:22-alpine /usr/local/bin/node /usr/local/bin/node
|
||||
|
||||
# Install dependencies into temp directory
|
||||
# This will cache them and speed up future builds
|
||||
FROM base AS install
|
||||
|
|
|
|||
Loading…
Reference in a new issue