Browse Source

: artifact + docker

artifact
Chiara 6 years ago
parent
commit
881dbbc6a8
  1. 11
      .circleci/config.yml
  2. 5
      Dockerfile

11
.circleci/config.yml

@ -19,6 +19,7 @@ workflow:
- lint
- teste2e
- tu
- artifact
jobs:
build:
docker:
@ -85,3 +86,13 @@ jobs:
root: /tmp/dir
path:
- ./image
artifact:
docker:
- image: cimg/node:14.10.1
steps:
- checkout
- run: yarn doc:build
- run: ls
- store_artifacts:
path: doc-server
destination: doc-server

5
Dockerfile

@ -0,0 +1,5 @@
FROM node:14.10.1
COPY ["package.json", "yarn.lock", "./"]
RUN yarn install
COPY . .
CMD ["yarn", "start"]
Loading…
Cancel
Save