Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions helper-apps/cortex-file-handler/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
min-release-age=7
12 changes: 10 additions & 2 deletions helper-apps/cortex-file-handler/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
FROM node:22-alpine

RUN wget -qO /tmp/npm-11.14.1.tgz https://registry.npmjs.org/npm/-/npm-11.14.1.tgz \
&& mkdir -p /opt/npm-11.14.1 \
&& tar -xzf /tmp/npm-11.14.1.tgz -C /opt/npm-11.14.1 --strip-components=1 \
&& node /opt/npm-11.14.1/bin/npm-cli.js --version \
&& printf '%s\n' '#!/bin/sh' 'exec node /opt/npm-11.14.1/bin/npm-cli.js "$@"' > /usr/local/bin/npm \
&& printf '%s\n' '#!/bin/sh' 'exec node /opt/npm-11.14.1/bin/npx-cli.js "$@"' > /usr/local/bin/npx \
&& chmod +x /usr/local/bin/npm /usr/local/bin/npx \
&& rm /tmp/npm-11.14.1.tgz
WORKDIR /usr/src/app

COPY package*.json ./
COPY .npmrc package*.json ./

RUN npm install

Expand All @@ -16,4 +24,4 @@ EXPOSE 7071

# RUN npm run build

CMD [ "npm", "start" ]
CMD [ "npm", "start" ]
4 changes: 2 additions & 2 deletions helper-apps/cortex-file-handler/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion helper-apps/cortex-file-handler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aj-archipelago/cortex-file-handler",
"version": "2.8.1",
"version": "2.9.1",
"description": "File handling service for Cortex - handles file uploads, media chunking, and document processing",
"type": "module",
"main": "src/index.js",
Expand Down
Loading
Loading