From 9b022502a7da38de038118ed3b3657df2496a5a7 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Wed, 17 Jul 2019 14:44:05 +0200 Subject: [PATCH] oops --- Dockerfile | 10 ++++++++ build.sh | 2 ++ src/App.vue | 2 +- src/components/Menu.vue | 34 ++++++++++++++++++++------ src/components/MenuMobile.vue | 41 +++++++++++++++++++++++++++++++ src/services/Api.js | 4 ++-- src/services/Apps.js | 2 +- src/views/AppDetails.vue | 45 +++++++++++++++++++++++++++++++++-- src/views/ListApps.vue | 2 +- src/views/Login.vue | 10 ++++++-- 10 files changed, 136 insertions(+), 16 deletions(-) create mode 100644 Dockerfile create mode 100644 build.sh diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..44e759c1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM node:lts-alpine +RUN npm install -g http-server +WORKDIR /app +COPY package*.json ./ +RUN npm install +COPY . . +RUN npm run build + +EXPOSE 8080 +CMD [ "http-server", "dist" ] \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100644 index 00000000..7e885676 --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +docker build -t docker.keks.cloud/keksaccount/gui:latest . +docker push docker.keks.cloud/keksaccount/gui:latest \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 202e2e77..61051825 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,5 @@