From 2a7e4625edf76e519f089764bc93ce4332c7157e Mon Sep 17 00:00:00 2001 From: Younes Barrad Date: Sun, 19 Jun 2022 14:32:06 +0100 Subject: [PATCH] feat: updated dockerfile --- Dockerfile | 1 + nuxt.config.js | 1 + package.json | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1a0128f..68ce117 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN npm install # copy the app, note .dockerignore COPY . /usr/src/website-shot/ +RUN npm run generate RUN npm run build EXPOSE 3000 diff --git a/nuxt.config.js b/nuxt.config.js index 82257d5..0d62a98 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,4 +1,5 @@ export default { + ssr: false, // Global page headers: https://go.nuxtjs.dev/config-head head: { title: "Website-Shot | Home", diff --git a/package.json b/package.json index b0ace36..a1007f4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "website-shot", - "version": "0.3.0", + "version": "0.4.0", "private": true, "scripts": { "dev": "nuxt",