From f8c42ea67cd80e33ad42e13d5cfd04c72022f89d Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Wed, 10 Apr 2024 15:45:15 -0600 Subject: Fix build Dockerfile --- Dockerfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index e73f81f7c..6ea593ded 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,15 +30,15 @@ RUN apk add --no-cache --no-progress npm WORKDIR /build -ADD traccar-web/modern/.env ./ -ADD traccar-web/modern/.eslintrc.json ./ -ADD traccar-web/modern/.npmrc ./ -ADD traccar-web/modern/index.html ./ -ADD traccar-web/modern/package.json ./ -ADD traccar-web/modern/package-lock.json ./ -ADD traccar-web/modern/vite.config.js ./ -ADD traccar-web/modern/public/ ./public -ADD traccar-web/modern/src/ ./src +ADD traccar-web/.env ./ +ADD traccar-web/.eslintrc.json ./ +ADD traccar-web/.npmrc ./ +ADD traccar-web/index.html ./ +ADD traccar-web/package.json ./ +ADD traccar-web/package-lock.json ./ +ADD traccar-web/vite.config.js ./ +ADD traccar-web/public/ ./public +ADD traccar-web/src/ ./src RUN echo 'timeout=60000' > ~/.npmrc && \ npm install && \ @@ -58,7 +58,7 @@ RUN apk add --no-cache --no-progress openjdk11-jre-headless WORKDIR /opt/traccar COPY --from=build_server /build/target . -COPY --from=build_web /build/build ./modern +COPY --from=build_web /build/build ./web ADD setup/default.xml ./conf/default.xml ADD setup/traccar.xml ./conf/traccar.xml -- cgit v1.2.3