Install Firefox 94 instead of the latest Nightly

This commit is contained in:
ngosang
2022-07-30 22:21:20 +02:00
parent e505f906ea
commit 3ed7cc713e
6 changed files with 51 additions and 56 deletions

View File

@@ -1,9 +1,4 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} node:16-alpine3.15
# Print build information
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN printf "I am running on ${BUILDPLATFORM:-linux/amd64}, building for ${TARGETPLATFORM:-linux/amd64}\n$(uname -a)\n"
FROM node:16-alpine3.15
# Install the web browser (package firefox-esr is available too)
RUN apk update && \
@@ -14,7 +9,7 @@ RUN apk update && \
USER node
RUN mkdir -p /home/node/flaresolverr
WORKDIR /home/node/flaresolverr
COPY --chown=node:node package.json package-lock.json tsconfig.json ./
COPY --chown=node:node package.json package-lock.json tsconfig.json install.js ./
COPY --chown=node:node src ./src/
# Install package. Skip installing the browser, we will use the installed package.