Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava authored Sep 4, 2024
1 parent 6569e72 commit 2d47a6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build Stage 2: Copy Build Stage 1 files in to Stage 2. Install chromium dependencies and chromium.
FROM node:22-slim
FROM node:20-buster-slim
RUN apt-get update \
&& apt-get install -y x11-apps\
&& apt-get install -y wget gnupg chromium mesa-va-drivers libva-drm2 libva-x11-2 mesa-utils mesa-utils-extra nodejs npm fonts-noto-color-emoji\
Expand All @@ -10,4 +10,4 @@ RUN apt-get update \
RUN mkdir /var/ffmpeg && cd /var/ffmpeg
RUN wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz && \
tar xvf ./ffmpeg-release-amd64-static.tar.xz --one-top-level=ffmpeg2 --strip-components 1 && \
mv ${FUNCTION_DIR}/ffmpeg2 ${FUNCTION_DIR}/ffmpeg
mv ${FUNCTION_DIR}/ffmpeg2 ${FUNCTION_DIR}/ffmpeg

0 comments on commit 2d47a6f

Please sign in to comment.