mirror of
https://github.com/versia-pub/server.git
synced 2026-03-12 21:39:15 +01:00
refactor: 🔥 Remove package version pinning from Dockerfile
This commit is contained in:
parent
c4ff5aa2fb
commit
df29091c44
2 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# Node is required for building the project
|
||||
FROM imbios/bun-node:1-20-alpine AS base
|
||||
|
||||
RUN apk add --no-cache libstdc++=^13.0.0
|
||||
RUN apk add --no-cache libstdc++
|
||||
|
||||
# Install dependencies into temp directory
|
||||
# This will cache them and speed up future builds
|
||||
|
|
@ -29,7 +29,7 @@ WORKDIR /temp/dist
|
|||
FROM oven/bun:1.1.29-alpine
|
||||
|
||||
# Install libstdc++ for Bun and create app directory
|
||||
RUN apk add --no-cache libstdc++=^13.0.0 && \
|
||||
RUN apk add --no-cache libstdc++ && \
|
||||
mkdir -p /app
|
||||
|
||||
COPY --from=build /temp/dist /app/dist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue