From 4853240de99bb4fecb02a783937dce18d2753310 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 4 Apr 2023 21:57:30 -0500 Subject: [PATCH] fix(server): Revert alpine version to fix Sharp dependencies not installed correctly (#2172) --- server/Dockerfile | 4 ++-- web/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/Dockerfile b/server/Dockerfile index 51891478a6..8f328ebf68 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine3.17 as builder +FROM node:16-alpine3.14 as builder WORKDIR /usr/src/app @@ -17,7 +17,7 @@ RUN npm run build RUN npm prune --omit=dev --omit=optional -FROM node:16-alpine3.17 +FROM node:16-alpine3.14 ENV NODE_ENV=production diff --git a/web/Dockerfile b/web/Dockerfile index 9c98f1242e..4dc4abaf26 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -1,5 +1,5 @@ # Our Node base image -FROM node:16-alpine3.17 as base +FROM node:16-alpine3.14 as base WORKDIR /usr/src/app EXPOSE 3000