From b09397d3abf64928a19b2679fa5d7701e287a56e Mon Sep 17 00:00:00 2001 From: MTLantoine Date: Wed, 4 Nov 2020 19:53:49 +0100 Subject: [PATCH] doc --- .circleci/config.yml | 10 ++++++++++ Dockerfile | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 Dockerfile diff --git a/.circleci/config.yml b/.circleci/config.yml index 96891ed..6768886 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,6 +10,16 @@ jobs: keys: - npm-v2-dependencies-{{ checksum "yarn.lock" }} - run: yarn global add node-gyp && yarn install + - run: + name: Creating Dummy Artifacts + command: echo "my artifact file" > /tmp/artifact-1; + mkdir /tmp/artifacts; + echo "my artifact files in a dir" > /tmp/artifacts/artifact-2; + - store_artifacts: + path: /doc-server + destination: artifact-file + - run: yarn doc:build + - save_cache: paths: - ./node_modules diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d21698b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM node:12 + +COPY ./src ./ +COPY yarn.lock ./ +COPY package.json ./ + +RUN yarn global add node-gyp && yarn install +RUN yarn start \ No newline at end of file