diff --git a/Dockerfile b/Dockerfile index 97d6177..36c26c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Creating multi-stage build for production -FROM node:18-alpine as build +FROM node:18.18-alpine3.17 as build RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev > /dev/null 2>&1 ARG NODE_ENV=production ENV NODE_ENV=${NODE_ENV} @@ -13,7 +13,7 @@ COPY . . RUN yarn build # Creating final production image -FROM node:18-alpine +FROM node:18.18-alpine3.17 RUN apk add --no-cache vips-dev ARG NODE_ENV=production ENV NODE_ENV=${NODE_ENV}