mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2026-04-23 00:15:36 +02:00
Install Firefox 94 instead of the latest Nightly
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user