File: Dockerfile

package info (click to toggle)
node-retry 0.13.1.%2B~cs2.19.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 452 kB
  • sloc: javascript: 837; makefile: 23; sh: 2
file content (10 lines) | stat: -rw-r--r-- 261 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
FROM mhart/alpine-node:10.7.0
WORKDIR /usr/src
COPY package.json .
COPY yarn.lock .
RUN yarn && yarn cache clean --force
COPY . .

# Run tests
RUN yarn test
RUN mkdir /public && echo "<marquee direction="right">All tests passed!</marquee>" > /public/index.html