From f6abdc9f15be2c8460e2162ada543e51b5799836 Mon Sep 17 00:00:00 2001 From: Jake Low Date: Mon, 19 May 2025 12:56:15 -0700 Subject: [PATCH] Switch from yarn to npm --- frontend/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index ca3f8cf..8d871a3 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -32,9 +32,8 @@ COPY customLayers.json ./src/customLayers.json # Build the Maproulette Frontend ENV NODE_OPTIONS="--max-old-space-size=8192" -RUN \ - yarn --network-timeout 100000 && \ - yarn --network-timeout 100000 run build +RUN npm install +RUN npm run build FROM docker.io/library/nginx:${NGINX_TAG}