diff --git a/Dockerfile b/Dockerfile index 8c8899db..2f661765 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ WORKDIR /oengus-webapp COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"] RUN npm ci --silent COPY ["nuxt.config.js", "vue-i18n.config.js", "./"] +COPY static ./static COPY --from=builder /oengus-webapp/.nuxt ./.nuxt EXPOSE 3000 CMD ["npm", "start"] diff --git a/static/README.md b/static/README.md deleted file mode 100644 index cf004353..00000000 --- a/static/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# STATIC - -**This directory is not required, you can delete it if you don't want to use it.** - -This directory contains your static files. -Each file inside this directory is mapped to `/`. -Thus you'd want to delete this README.md before deploying to production. - -Example: `/static/robots.txt` is mapped as `/robots.txt`. - -More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#static).