Open frugan-dev opened 5 months ago
same problem.
Following works for me, but not node20
strapi-plugin-local-image-sharp@^1.7.0
FROM node:18.13-alpine3.16
RUN apk update && \ apk upgrade && \ apk add --no-cache build-base make gcc g++ python3 autoconf automake zlib-dev libpng-dev nasm bash vips-dev ARG NODE_ENV=development ENV NODE_ENV=${NODE_ENV}
WORKDIR /opt/ COPY package.json yarn.lock ./ RUN yarn config set network-timeout 600000 -g && yarn install --unsafe-perm
WORKDIR /opt/app COPY . . ENV PATH /opt/node_modules/.bin:$PATH RUN chown -R node:node /opt/app USER node
EXPOSE 1337 CMD ["yarn", "dev"]
anyone success with node.20?
Unless we can raise to node 20.5.0 we are going to miss out on all the changes in: "@strapi/plugin-graphql": "^4.20.5", "@strapi/plugin-i18n": "^4.20.5", "@strapi/plugin-users-permissions": "^4.20.5", "@strapi/provider-upload-aws-s3": "^4.20.5", "@strapi/strapi": "^4.20.5",
If I try I get this:
node v20.11.0 npm v10.2.4