diff --git a/.yarnclean b/.yarnclean new file mode 100644 index 00000000..9d10926f --- /dev/null +++ b/.yarnclean @@ -0,0 +1,44 @@ +# test directories +__tests__ +test +tests +powered-test + +# asset directories +docs +doc +website +images +assets + +# examples +example +examples + +# code coverage directories +coverage +.nyc_output + +# build scripts +Makefile +Gulpfile.js +Gruntfile.js + +# configs +appveyor.yml +circle.yml +codeship-services.yml +codeship-steps.yml +wercker.yml +.tern-project +.gitattributes +.editorconfig +.*ignore +.eslintrc +.jshintrc +.flowconfig +.documentup.json +.yarn-metadata.json +.travis.yml + +# misc diff --git a/Dockerfile b/Dockerfile index 39db4727..3a63edc1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,13 +15,15 @@ RUN ["yarn", "build"] FROM node:16-alpine AS production WORKDIR /srv -COPY --from=builder /temp/.yarnclean .yarnclean +COPY --from=builder /temp/license license COPY --from=builder /temp/package.json package.json COPY --from=builder /temp/yarn.lock yarn.lock COPY --from=builder /temp/build build COPY --from=builder /temp/storage storage COPY --from=builder /temp/template template COPY --from=builder /temp/config config +COPY --from=builder /temp/assets assets +COPY --from=builder /temp/docs docs ENV NODE_ENV=production ENV PORT=3000 diff --git a/readme.md b/readme.md index f685b1b3..88ff57a9 100644 --- a/readme.md +++ b/readme.md @@ -4,7 +4,7 @@ ![Docker Pulls](https://img.shields.io/docker/pulls/artgenio/core) ![Docker Image Version](https://img.shields.io/docker/v/artgenio/core) ![GitHub last commit](https://img.shields.io/github/last-commit/artgenio/core) -![License](https://img.shields.io/github/license/artgenio/core) +[![License: CC BY-NC-ND 4.0](https://img.shields.io/badge/License-CC%20BY--NC--ND%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-nd/4.0/) ### Get Started!