copy public folder correctly

This commit is contained in:
Ulf Gebhardt 2025-04-27 02:46:37 +02:00
parent 787c68fbe4
commit 74412a9fb3
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 1 additions and 4 deletions

View File

@ -29,7 +29,7 @@ ONBUILD RUN yarn install --production=false --frozen-lockfile --non-interactive
ONBUILD RUN yarn run build
ONBUILD RUN mkdir /build
ONBUILD RUN cp -r ./build /build
ONBUILD RUN cp -r ./public /build/build
ONBUILD RUN cp -r ./public /public
ONBUILD RUN cp -r ./package.json yarn.lock /build
ONBUILD RUN cd /build && yarn install --production=true --frozen-lockfile --non-interactive

View File

@ -1,8 +1,5 @@
#!/bin/sh
# public
cp -r public/ build/public/
# html files
mkdir -p build/src/middleware/helpers/email/templates/
cp -r src/middleware/helpers/email/templates/*.html build/src/middleware/helpers/email/templates/