fix index.js paths
ci / build (push) Failing after 7s Details

This commit is contained in:
Chris Grimmett 2024-04-25 00:05:05 +00:00
parent 991061a7c8
commit d8ca369353
2 changed files with 4 additions and 3 deletions

View File

@ -8,6 +8,7 @@ WORKDIR /app
COPY ./packages/link2cid/package.json /app COPY ./packages/link2cid/package.json /app
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod
COPY ./packages/link2cid/index.js /app COPY ./packages/link2cid/index.js /app
COPY ./packages/link2cid/src /app/src
ENTRYPOINT ["pnpm"] ENTRYPOINT ["pnpm"]
CMD ["start"] CMD ["start"]

View File

@ -11,8 +11,8 @@
"engines": { "engines": {
"node": ">=20.0.0" "node": ">=20.0.0"
}, },
"keywords": [], "keywords": ["IPFS", "CID", "HTTP", "REST"],
"author": "", "author": "@CJ_Clippy",
"license": "Unlicense", "license": "Unlicense",
"dependencies": { "dependencies": {
"@paralleldrive/cuid2": "^2.2.2", "@paralleldrive/cuid2": "^2.2.2",
@ -28,4 +28,4 @@
"nodemon": "^3.0.3", "nodemon": "^3.0.3",
"supertest": "^6.3.4" "supertest": "^6.3.4"
} }
} }