Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM node:10.14.1-alpine
- # Setup the working directory
- RUN mkdir /srv/github-actions-app
- WORKDIR /srv/github-actions-app
- # Send over the dependency definitions to the container
- COPY package.json yarn.lock ./
- # Install the dependencies
- RUN yarn && yarn cache clean
- # Copy the whitelisted files
- COPY . .
- # Run the tests
- RUN yarn test
Add Comment
Please, Sign In to add comment