Skip to content

Commit

Permalink
feat: keep build lock (#25)
Browse files Browse the repository at this point in the history
* feat: keep build lock

* remove useless copy
  • Loading branch information
martabal authored Feb 22, 2024
1 parent 5bdf1ba commit caa8798
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ RUN ./build-libvips.sh
RUN ./build-perllib-compress-brotli.sh

RUN sed -i -e's/ main/ main contrib non-free non-free-firmware/g' /etc/apt/sources.list.d/debian.sources
COPY bin/install-ffmpeg.sh bin/build-lock.json ./
RUN ./install-ffmpeg.sh

ADD https://download.geonames.org/export/dump/cities500.zip /usr/src/resources/cities500.zip
Expand Down Expand Up @@ -106,8 +105,7 @@ RUN apt-get update && \
apt-get autoremove -yqq && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
rm install-ffmpeg.sh && \
rm build-lock.json
rm install-ffmpeg.sh

COPY --from=dev /usr/local/lib/ /usr/local/lib/
COPY --from=dev /usr/src/resources/ /usr/src/resources/
Expand Down

0 comments on commit caa8798

Please sign in to comment.