2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-13 14:11:37 +00:00

Update dockerfile (#10225)

* Update dockerfile

Updated dockerfile to provide support for new node LTS

* Tweak plugin-react version

* Fix Dockerfile
This commit is contained in:
Oliver
2025-08-25 22:50:39 +10:00
committed by GitHub
parent 214e19dd10
commit e9b8c264b1
2 changed files with 3 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ RUN ./install_build_packages.sh --no-cache --virtual .build-deps && \
FROM prebuild AS frontend
RUN apk add --no-cache --update nodejs npm yarn bash
RUN npm install -g --ignore-scripts n@10.1.0
RUN npm install -g n --ignore-scripts
RUN bash -c "n lts"
RUN yarn config set network-timeout 600000 -g
COPY src ${INVENTREE_HOME}/src
@@ -156,7 +156,7 @@ RUN pip install --require-hashes -r base_requirements.txt --no-cache
# Install nodejs / npm / yarn
RUN apk add --no-cache --update nodejs npm yarn bash
RUN npm install -g --ignore-scripts n@10.1.0
RUN npm install -g n --ignore-scripts
RUN bash -c "n lts"
RUN yarn config set network-timeout 600000 -g