aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2024-04-10 15:45:15 -0600
committerIván Ávalos <avalos@disroot.org>2024-04-10 15:45:15 -0600
commitf8c42ea67cd80e33ad42e13d5cfd04c72022f89d (patch)
treea343370241107a07e8444ea421a8b809938347ab
parente8456ae8ec5960b2119b7cdbcffac6d9ff004c95 (diff)
downloadtrackermap-server-f8c42ea67cd80e33ad42e13d5cfd04c72022f89d.tar.gz
trackermap-server-f8c42ea67cd80e33ad42e13d5cfd04c72022f89d.tar.bz2
trackermap-server-f8c42ea67cd80e33ad42e13d5cfd04c72022f89d.zip
Fix build Dockerfiletrackermap-v6.0
-rw-r--r--Dockerfile20
1 files changed, 10 insertions, 10 deletions
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