aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 41430b572..14733c0a1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -41,7 +41,8 @@ ADD traccar-web/modern/public/ ./public
ADD traccar-web/modern/src/ ./src
RUN echo "ESLINT_NO_DEV_ERRORS=false" > .env && \
- echo "VITE_APP_VERSION=$npm_package_version" >> .env && \
+ echo 'VITE_APP_VERSION=$npm_package_version' >> .env && \
+ echo 'timeout=60000' > ~/.npmrc && \
npm install && \
npm run build