mirror of
https://github.com/versia-pub/server.git
synced 2026-01-26 04:06:01 +01:00
Include Sharp in Docker build
This commit is contained in:
parent
885ec12780
commit
8a40531d76
|
|
@ -24,6 +24,9 @@ WORKDIR /temp
|
|||
RUN bunx --bun prisma generate
|
||||
RUN bun run prod-build
|
||||
COPY prisma /temp/dist
|
||||
WORKDIR /temp/dist
|
||||
# Add sharp
|
||||
RUN bun add sharp
|
||||
|
||||
# copy production dependencies and source code into final image
|
||||
# Alpine (musl) causes errors with Bun :(
|
||||
|
|
|
|||
Loading…
Reference in a new issue