1
- FROM imbios/bun-node:21 -alpine AS base
1
+ FROM imbios/bun-node:22 -alpine AS base
2
2
3
3
# Install dependencies into temp directory
4
4
# This will cache them and speed up future builds
@@ -14,16 +14,16 @@ COPY . /app
14
14
COPY --from=install /temp/dev/node_modules /app/node_modules
15
15
RUN cd /app && bun run build --preset node-server
16
16
17
- FROM node:21 -alpine as final
17
+ FROM oven/bun:1.1.24 -alpine AS final
18
18
19
19
COPY --from=builder /app/.output/ /app
20
20
21
- LABEL org.opencontainers.image.authors "Gaspard Wierzbinski (https://cpluspatch.com)"
22
- LABEL org.opencontainers.image.source "https://github.com/lysand-org/frontend"
23
- LABEL org.opencontainers.image.vendor "Lysand Org"
24
- LABEL org.opencontainers.image.licenses "AGPL-3.0"
25
- LABEL org.opencontainers.image.title "Lysand-FE"
26
- LABEL org.opencontainers.image.description "Frontend for the Lysand Project"
21
+ LABEL org.opencontainers.image.authors= "Gaspard Wierzbinski (https://cpluspatch.com)"
22
+ LABEL org.opencontainers.image.source= "https://github.com/lysand-org/frontend"
23
+ LABEL org.opencontainers.image.vendor= "Lysand Org"
24
+ LABEL org.opencontainers.image.licenses= "AGPL-3.0"
25
+ LABEL org.opencontainers.image.title= "Lysand-FE"
26
+ LABEL org.opencontainers.image.description= "Frontend for the Lysand Project"
27
27
28
28
WORKDIR /app
29
- CMD ["node " , "server/index.mjs" ]
29
+ CMD ["bun" , "run " , "server/index.mjs" ]
0 commit comments