Skip to content

Commit

Permalink
fix: dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
OnlyNico43 committed Aug 4, 2024
1 parent 020e215 commit 41b9b35
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ FROM node:22-alpine AS production
ARG CLOUDFLARE_ORIGIN_CERTIFICATE
ARG CLOUDFLARE_ORIGIN_CA_KEY

# Uninstall yarn and npm not needed in prod
# Uninstall yarn not needed in prod (npm is needed for npx next start in the entrypoint)
RUN npm uninstall -g yarn
RUN npm uninstall -g npm

RUN addgroup -g 2000 -S appgroup
RUN adduser -DH -s /sbin/nologin -u 2000 -G appgroup -S appuser
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "next dev",
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand All @@ -14,10 +14,10 @@
"dependencies": {
"@nextui-org/react": "2.4.6",
"@phosphor-icons/react": "2.1.7",
"axios": "1.7.2",
"axios": "1.7.3",
"classnames": "^2.5.1",
"formik": "2.4.6",
"framer-motion": "11.3.18",
"framer-motion": "11.3.21",
"i18next": "23.12.2",
"i18next-resources-to-backend": "1.2.1",
"next": "14.2.5",
Expand All @@ -30,23 +30,23 @@
"yup": "1.4.0"
},
"devDependencies": {
"@types/node": "20.14.12",
"@types/node": "22.1.0",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "7.17.0",
"@typescript-eslint/eslint-plugin": "8.0.0",
"eslint": "8.57.0",
"eslint-config-next": "14.2.5",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"husky": "9.1.3",
"lint-staged": "15.2.7",
"husky": "9.1.4",
"lint-staged": "15.2.8",
"postcss": "8.4.40",
"postcss-flexbugs-fixes": "5.0.2",
"postcss-preset-env": "9.6.0",
"postcss-preset-env": "10.0.0",
"prettier": "3.3.3",
"prettier-plugin-sort-json": "4.0.0",
"prettier-plugin-tailwindcss": "0.6.5",
"tailwindcss": "3.4.7",
"typescript": "5.5.4"
}
}
}

0 comments on commit 41b9b35

Please sign in to comment.