From 9d522353cc36c52b15d57c71c83bbe9c459625a3 Mon Sep 17 00:00:00 2001 From: roschaefer Date: Thu, 24 Oct 2019 11:07:13 +0200 Subject: [PATCH] fix: import missing files in maintenance image @ogerly the maintenance page needs just two components of the webapp folder. For that reason we import only these. If you add imports to `LocaleSwitch` component, you need to copy those files in the Dockerfile. --- webapp/Dockerfile.maintenance | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/Dockerfile.maintenance b/webapp/Dockerfile.maintenance index b32bca8e1..0e4a618ed 100644 --- a/webapp/Dockerfile.maintenance +++ b/webapp/Dockerfile.maintenance @@ -1,5 +1,5 @@ FROM node:12.13.0-alpine as build -LABEL Description="Web Frontend of the Social Network Human-Connection.org" Vendor="Human-Connection gGmbH" Version="0.0.1" Maintainer="Human-Connection gGmbH (developer@human-connection.org)" +LABEL Description="Maintenance page of the Social Network Human-Connection.org" Vendor="Human-Connection gGmbH" Version="0.0.1" Maintainer="Human-Connection gGmbH (developer@human-connection.org)" EXPOSE 3000 CMD ["yarn", "run", "start"] @@ -19,6 +19,7 @@ RUN yarn install --production=false --frozen-lockfile --non-interactive COPY assets assets COPY components/LocaleSwitch/ components/LocaleSwitch +COPY graphql graphql COPY components/Dropdown.vue components/Dropdown.vue COPY layouts/blank.vue layouts/blank.vue COPY locales locales