fix Dockerfile

This commit is contained in:
Hongbo Wu
2024-07-02 15:25:51 +08:00
parent edefa988e7
commit b1ba2d3f26
2 changed files with 6 additions and 0 deletions

View File

@ -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