From 43c77180d7cb00759f9107b0b66da6cce4304fb2 Mon Sep 17 00:00:00 2001 From: Kamil Klecha Date: Wed, 20 Oct 2021 11:00:22 +0200 Subject: [PATCH] QF build --- Dockerfile | 4 ++-- src/components/City.vue | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7a46cb6..713e1fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ WORKDIR /app COPY . . RUN npm install && npm run build -FROM nginx:latest-alpine +FROM nginx:alpine WORKDIR /usr/share/nginx/html COPY --from=0 /app/dist . -ENTRYPOINT [ "start-nginx.sh" ] \ No newline at end of file +ENTRYPOINT ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/src/components/City.vue b/src/components/City.vue index 24a7cd1..c9ba5ff 100644 --- a/src/components/City.vue +++ b/src/components/City.vue @@ -81,7 +81,6 @@ import { Component, Prop, Vue } from "vue-property-decorator"; import Details from "@/components/Details.vue"; import axios from "axios"; const moment = require("moment"); -const Config = require("@/config.json"); @Component({ components: {