mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
25 lines
537 B
Text
25 lines
537 B
Text
|
|
FROM node:14.18-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
|
||
|
|
|
||
|
|
RUN apk --no-cache --virtual build-dependencies add \
|
||
|
|
python3 \
|
||
|
|
make \
|
||
|
|
g++
|
||
|
|
|
||
|
|
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
|
||
|
|
|
||
|
|
RUN yarn install
|
||
|
|
|
||
|
|
ADD /packages/readabilityjs ./packages/readabilityjs
|
||
|
|
ADD /packages/api ./packages/api
|
||
|
|
|
||
|
|
CMD ["yarn", "workspace", "@omnivore/api", "test"]
|