From 3df2f5783dc3e6caf3cf81979c797f4e01c1286f Mon Sep 17 00:00:00 2001 From: Rub21 Date: Mon, 16 Oct 2023 14:57:46 +0200 Subject: [PATCH] Fix the path for static files - osmcha --- images/osmcha-web/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/images/osmcha-web/Dockerfile b/images/osmcha-web/Dockerfile index eb339873..06d38d15 100644 --- a/images/osmcha-web/Dockerfile +++ b/images/osmcha-web/Dockerfile @@ -43,8 +43,7 @@ RUN yarn 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 -R build/* ../osmchadjango/static/ -RUN mkdir -p ../osmcha-django/osmchadjango/static -RUN cp -R build/static/* ../osmcha-django/osmchadjango/static +RUN cp -R build/static/* ../osmchadjango/static/ ADD . /app