Update webapp.Dockerfile

This commit is contained in:
Moriz Wahl 2022-12-01 12:34:00 +01:00 committed by GitHub
parent f8adbe9f6f
commit 34b22936f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,7 @@ COPY branding/locales/html/ locales/html/
# COPY branding/locales/index.js locales/index.js # COPY branding/locales/index.js locales/index.js
COPY branding/locales/*.json locales/tmp/ COPY branding/locales/*.json locales/tmp/
COPY branding/assets/styles/imports/ assets/styles/imports/ COPY branding/assets/styles/imports/ assets/styles/imports/
COPY branding/assets/fonts/ assets/fonts/
RUN apk add --no-cache bash jq RUN apk add --no-cache bash jq
@ -50,6 +51,7 @@ COPY --from=build ${DOCKER_WORKDIR}/constants ./constants
COPY --from=build ${DOCKER_WORKDIR}/static ./static COPY --from=build ${DOCKER_WORKDIR}/static ./static
COPY --from=build ${DOCKER_WORKDIR}/locales ./locales COPY --from=build ${DOCKER_WORKDIR}/locales ./locales
COPY --from=build ${DOCKER_WORKDIR}/assets/styles/imports ./assets/styles/imports COPY --from=build ${DOCKER_WORKDIR}/assets/styles/imports ./assets/styles/imports
COPY --from=build ${DOCKER_WORKDIR}/assets/fonts ./assets/fonts
# Copy package.json for script definitions (lock file should not be needed) # Copy package.json for script definitions (lock file should not be needed)
COPY --from=build ${DOCKER_WORKDIR}/package.json ./package.json COPY --from=build ${DOCKER_WORKDIR}/package.json ./package.json