Skip to content

Commit fe2e982

Browse files
author
Simen Daehlin
committed
feat(dockerfile, dockerfile.prod): updated to latest NODE LTS 18
Node 16 will be EOL in september adhering to Strapi policy and updating to node 18
1 parent 9ba4883 commit fe2e982

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/Dockerfile-prod.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Creating multi-stage build for production
2-
FROM node:16-alpine as build
2+
FROM node:18-alpine as build
33
RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev > /dev/null 2>&1
44
ARG NODE_ENV=production
55
ENV NODE_ENV=${NODE_ENV}

templates/Dockerfile.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16-alpine
1+
FROM node:18-alpine
22
# Installing libvips-dev for sharp Compatibility
33
RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev
44
ARG NODE_ENV=development

0 commit comments

Comments
 (0)