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: {