Skip to content

Commit

Permalink
[#1766] Made alpine version temporarily static for Strapi production …
Browse files Browse the repository at this point in the history
…Dockerfile
  • Loading branch information
anjarakvo committed Dec 20, 2023
1 parent d9677e7 commit 08e2c90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions strapi/Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Creating multi-stage build for production
FROM node:18-alpine as build
FROM node:18-alpine3.18 as build
RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev git > /dev/null 2>&1
ENV NODE_ENV=production

Expand All @@ -17,7 +17,7 @@ RUN yarn add @sklinet/strapi-plugin-tinymce
RUN yarn build

# Creating final production image
FROM node:18-alpine
FROM node:18-alpine3.18
RUN apk add --no-cache vips-dev
ENV NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}
Expand Down

0 comments on commit 08e2c90

Please sign in to comment.