Skip to content

Commit

Permalink
Use npm install instead of yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel committed Oct 12, 2023
1 parent 6c06e2c commit ef26116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/osmcha-web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN pip3 install django-extensions
# Clone and build the frontend
RUN git clone https://github.com/mapbox/osmcha-frontend.git
WORKDIR /app/osmcha-frontend
RUN yarn
RUN npm install
RUN REACT_APP_VERSION=ohm REACT_APP_STACK=PRODUCTION PUBLIC_URL=$OSMCHA_URL npx react-scripts build
RUN cp -R ./build/*.html ../osmchadjango/frontend/templates/frontend/
RUN cp ./build/* ../osmchadjango/static/
Expand Down

0 comments on commit ef26116

Please sign in to comment.