From 3c5fa910b5ed0c8db9407bfd2f614c6d3d55d35d Mon Sep 17 00:00:00 2001 From: MarcoGoC Date: Wed, 17 Jul 2024 15:26:29 -0400 Subject: [PATCH] adding mkdir to try to avoid errors --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index ea170b4b8..e032dac85 100644 --- a/Dockerfile +++ b/Dockerfile @@ -87,7 +87,9 @@ ENV NEXT_BUILD_DATE=$NEXT_BUILD_DATE WORKDIR $home COPY --chown=55:$group . . RUN yarn install --immutable + RUN yarn build +RUN mkdir -p /app/.next/cache/images COPY --chown=55:$group public ./public RUN VERSION_NEXT=`node -p -e "require('./package.json').dependencies.next"`&& yarn add next@"$VERSION_NEXT"