[scraper] adds scraper deploy pipeline

This commit is contained in:
TheBeastLT
2020-09-11 19:38:01 +02:00
parent 3259f5fa39
commit ea9a22ce63
7 changed files with 100 additions and 66 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM node:12-alpine
RUN apk update && apk upgrade && \
apk add --no-cache git
WORKDIR /home/node/app
COPY package*.json ./
RUN npm ci --only-production
COPY . .
CMD [ "node", "scraper/index.js" ]