mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 15:25:57 +00:00
fix(docker): fix on build copy command failing when branding (#8996)
This commit is contained in:
parent
49e6f0b7e8
commit
09327ddc01
@ -29,7 +29,9 @@ CMD ["/bin/bash", "-c", "yarn install && yarn run dev"]
|
||||
|
||||
FROM base AS build
|
||||
COPY webapp/ .
|
||||
ONBUILD COPY webapp/branding .
|
||||
# branding is unified in /branding in branding repositories
|
||||
ONBUILD COPY webap[p]/brandin[g]/ .
|
||||
ONBUILD COPY brandin[g]/ .
|
||||
ONBUILD RUN tools/merge-locales.sh
|
||||
ONBUILD RUN yarn install --production=false --frozen-lockfile --non-interactive
|
||||
ONBUILD RUN yarn run build
|
||||
@ -38,7 +40,7 @@ ONBUILD RUN cp -r ./.nuxt /build
|
||||
ONBUILD RUN cp -r ./nuxt.config.js /build
|
||||
# Copy static files
|
||||
# TODO - this seems not be needed anymore for the new rebranding
|
||||
# TODO - this should be one Folder containign all stuff needed to be copied
|
||||
# TODO - this should be one Folder containing all stuff needed to be copied
|
||||
ONBUILD RUN cp -r ./config/ /build
|
||||
ONBUILD RUN cp -r ./constants /build
|
||||
ONBUILD RUN cp -r ./static /build
|
||||
|
||||
@ -25,7 +25,9 @@ WORKDIR /app
|
||||
COPY webapp/ .
|
||||
# Delete all Pages
|
||||
RUN rm -rf ./pages
|
||||
ONBUILD COPY webapp/branding .
|
||||
# branding is unified in /branding in branding repositories
|
||||
ONBUILD COPY webap[p]/brandin[g]/ .
|
||||
ONBUILD COPY brandin[g]/ .
|
||||
ONBUILD RUN tools/merge-locales.sh
|
||||
ONBUILD RUN yarn install --production=false --frozen-lockfile --non-interactive
|
||||
ONBUILD RUN cp -r maintenance/source/* ./
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user