31 lines
917 B
Plaintext
31 lines
917 B
Plaintext
|
FROM node:18.16-alpine
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY package.json .
|
||
|
COPY yarn.lock .
|
||
|
COPY tsconfig.json .
|
||
|
|
||
|
COPY /packages/readabilityjs/package.json ./packages/readabilityjs/package.json
|
||
|
COPY /packages/api/package.json ./packages/api/package.json
|
||
|
COPY /packages/text-to-speech/package.json ./packages/text-to-speech/package.json
|
||
|
COPY /packages/content-handler/package.json ./packages/content-handler/package.json
|
||
|
COPY /packages/liqe/package.json ./packages/liqe/package.json
|
||
|
|
||
|
RUN apk --no-cache --virtual build-dependencies add \
|
||
|
python3 \
|
||
|
make \
|
||
|
g++
|
||
|
|
||
|
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
|
||
|
|
||
|
RUN yarn install
|
||
|
|
||
|
COPY /packages/readabilityjs ./packages/readabilityjs
|
||
|
COPY /packages/api ./packages/api
|
||
|
COPY /packages/text-to-speech ./packages/text-to-speech
|
||
|
COPY /packages/content-handler ./packages/content-handler
|
||
|
COPY /packages/liqe ./packages/liqe
|
||
|
|
||
|
CMD ["yarn", "workspace", "@omnivore/api", "test"]
|