Move bun ver to latest in docker
This commit is contained in:
parent
626f544ea7
commit
bd6712c750
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM oven/bun:1 as build
|
FROM oven/bun:latest as build
|
||||||
WORKDIR /build/app
|
WORKDIR /build/app
|
||||||
COPY api/package.json api/bun.lockb ./
|
COPY api/package.json api/bun.lockb ./
|
||||||
COPY lib ../lib
|
COPY lib ../lib
|
||||||
|
@ -7,7 +7,7 @@ RUN bun install --frozen-lockfile
|
||||||
COPY ./api .
|
COPY ./api .
|
||||||
RUN bun run build
|
RUN bun run build
|
||||||
|
|
||||||
FROM oven/bun:1 as prod
|
FROM oven/bun:latest as prod
|
||||||
WORKDIR /app/api
|
WORKDIR /app/api
|
||||||
COPY --from=build /build/app/package.json /build/app/bun.lockb ./
|
COPY --from=build /build/app/package.json /build/app/bun.lockb ./
|
||||||
COPY --from=build /build/app/dist ./dist
|
COPY --from=build /build/app/dist ./dist
|
||||||
|
|
Loading…
Reference in a new issue