Skip to content

Commit

Permalink
fix: build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
irony committed Sep 25, 2024
1 parent da98911 commit a09e95c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ prisma/generated
# Ignore local SQLite databases
*.db
*.db-journal
*.pdf
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN apk add --no-cache \
ttf-freefont

COPY package*.json /app/
COPY prisma /app/
WORKDIR /app
RUN npm install --omit=dev
RUN npx prisma generate
Expand Down
5 changes: 5 additions & 0 deletions k8s/worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ spec:
secretKeyRef:
name: redis
key: redis-password
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: postgresql
key: postgres-password
imagePullPolicy: Always
imagePullSecrets:
- name: regcred
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@
"test": "DOTENV_CONFIG_PATH=./.env.test jest",
"prisma": "dotenv -e .env.development -- prisma"
},
"author": "Christian Landgren, William Ryder mfl",
"author": "Christian Landgren, William Ryder, Samuel Plumppu mfl",
"license": "MIT",
"dependencies": {
"@bull-board/api": "^5.12.0",
"@bull-board/express": "^5.12.0",
"@google/generative-ai": "^0.1.3",
"@hugocxl/react-to-image": "^0.0.9",
"@prisma/client": "^5.19.0",
"@types/node": "^22.5.2",
"bullmq": "^5.1.1",
Expand All @@ -32,10 +30,8 @@
"dotenv": "^16.3.1",
"embed-table": "^4.2.3",
"express": "^4.18.2",
"jest": "^29.7.0",
"openai": "^4.38.5",
"pdf-parse-debugging-disabled": "^1.1.1",
"pdf2json": "^3.1.2",
"prisma-zod-generator": "^0.8.13",
"redis": "^4.6.13",
"tsx": "^4.11.0",
Expand All @@ -48,6 +44,7 @@
"devDependencies": {
"@types/express": "^4.17.21",
"@types/jest": "^29.5.13",
"jest": "^29.7.0",
"concurrently": "^8.2.2",
"deepl-node": "^1.13.1",
"dotenv-cli": "^7.4.2",
Expand Down

0 comments on commit a09e95c

Please sign in to comment.