Skip to content

Commit 7cc5b37

Browse files
committed
Fix build
1 parent a541ca5 commit 7cc5b37

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ ARG SENTRY_PROJECT
1515
ENV SENTRY_PROJECT=$SENTRY_PROJECT
1616
ARG SENTRY_DSN
1717
ENV SENTRY_DSN=$SENTRY_DSN
18-
RUN npm ci && npm run build
18+
RUN npm ci --include=dev && npm run build
1919

2020
# Clean app
2121
FROM build
2222
RUN rm -rf src/ vitest.config.mts next-env.d.ts package-lock.json testEnvironment.ts tsconfig.json
2323
RUN npm prune --omit=dev
24-
RUN npm install typescript -P
2524

2625
EXPOSE 3000
2726
CMD ["npm", "start"]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
},
1414
"dependencies": {
1515
"@contentful/live-preview": "^4.9.2",
16+
"typescript": "^5.9.3",
1617
"@contentful/rich-text-plain-text-renderer": "^17.1.6",
1718
"@contentful/rich-text-react-renderer": "^16.1.6",
1819
"@sentry/nextjs": "^10.38.0",
@@ -56,7 +57,6 @@
5657
"stylelint-prettier": "^5.0.3",
5758
"stylelint-scss": "^7.0.0",
5859
"ts-node": "^10.9.2",
59-
"typescript": "^5.9.3",
6060
"typescript-eslint": "^8.54.0",
6161
"vite-tsconfig-paths": "^6.0.5",
6262
"vitest": "^4.0.7",

0 commit comments

Comments
 (0)