aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2024-03-09 17:29:41 -0600
committerIván Ávalos <avalos@disroot.org>2024-03-09 17:29:41 -0600
commitacff8c4dce2f46b7907e6e19118dbc0c9c8e90f1 (patch)
tree525cf4e106a348a4ff99f4c8c68ec9473dce1cb6
parent47e8fd1bbd88162134ade291f5c543054f48672a (diff)
downloadtrackermap-server-trackermap-v0.1.2.tar.gz
trackermap-server-trackermap-v0.1.2.tar.bz2
trackermap-server-trackermap-v0.1.2.zip
Set longer timeout to npmtrackermap-v0.1.2
-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