make clean all parancs használatának előkészítése az rmarkdown könyvtárhoz
Minden függőséget a Miniconda segítségével fogunk telepíteni.
| on: | |
| push: | |
| branches: | |
| - <branch_name> | |
| jobs: | |
| build_and_push: | |
| name: Build and push Docker image to DO Container Registry | |
| runs-on: ubuntu-latest |
| # build stage | |
| FROM node:12-alpine as build | |
| RUN mkdir -p /app | |
| WORKDIR /app | |
| COPY ./package.json /app | |
| COPY ./yarn.lock /app |
| const { | |
| name, | |
| main: script | |
| } = require('./package'); | |
| const { | |
| CLUSTER_MODE ='false' | |
| } = process.env; | |
| const isClusterMode = CLUSTER_MODE === 'true' |
| /*------------------------ | |
| Libraries | |
| ------------------------*/ | |
| const axios = require("axios"); | |
| const fs = require("fs"); | |
| const FormData = require("form-data"); | |
| /*------------------------ | |
| Download the file. | |
| Good article on how to download a file and send with form data - https://maximorlov.com/send-a-file-with-axios-in-nodejs/ |