mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix Dockerfile
This commit is contained in:
parent
edefa988e7
commit
b1ba2d3f26
2 changed files with 6 additions and 0 deletions
|
|
@ -11,11 +11,14 @@ COPY .eslintrc .
|
|||
|
||||
COPY /packages/inbound-email-handler/package.json ./packages/inbound-email-handler/package.json
|
||||
COPY /packages/content-handler/package.json ./packages/content-handler/package.json
|
||||
COPY /packages/utils/package.json ./packages/utils/package.json
|
||||
|
||||
RUN yarn install --pure-lockfile
|
||||
|
||||
ADD /packages/inbound-email-handler ./packages/inbound-email-handler
|
||||
ADD /packages/content-handler ./packages/content-handler
|
||||
ADD /packages/utils ./packages/utils
|
||||
RUN yarn workspace @omnivore/utils build
|
||||
RUN yarn workspace @omnivore/content-handler build
|
||||
RUN yarn workspace @omnivore/inbound-email-handler build
|
||||
|
||||
|
|
|
|||
|
|
@ -10,10 +10,13 @@ COPY .prettierrc .
|
|||
COPY .eslintrc .
|
||||
|
||||
COPY /packages/pdf-handler/package.json ./packages/pdf-handler/package.json
|
||||
COPY /packages/utils/package.json ./packages/utils/package.json
|
||||
|
||||
RUN yarn install --pure-lockfile
|
||||
|
||||
ADD /packages/pdf-handler ./packages/pdf-handler
|
||||
ADD /packages/utils ./packages/utils
|
||||
RUN yarn workspace @omnivore/utils build
|
||||
RUN yarn workspace @omnivore/pdf-handler build
|
||||
|
||||
# After building, fetch the production dependencies
|
||||
|
|
|
|||
Loading…
Reference in a new issue