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"