Skip to content

Commit

Permalink
tag stages
Browse files Browse the repository at this point in the history
  • Loading branch information
mertalev committed Oct 25, 2023
1 parent 79a99cf commit 4964fe1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.8-bookworm as builder
FROM node:20.8-bookworm as dev

WORKDIR /usr/src/app

Expand Down Expand Up @@ -33,7 +33,7 @@ RUN ./build-libraw.sh
RUN ./build-imagemagick.sh
RUN ./build-libvips.sh

FROM node:20.8-bookworm-slim
FROM node:20.8-bookworm-slim as prod

WORKDIR /usr/src/app

Expand Down Expand Up @@ -78,5 +78,5 @@ RUN apt-get update && \
rm install-ffmpeg.sh && \
rm build-lock.json

COPY --from=builder /usr/local/lib/ /usr/local/lib/
COPY --from=dev /usr/local/lib/ /usr/local/lib/
RUN ldconfig /usr/local/lib

0 comments on commit 4964fe1

Please sign in to comment.