From 86de2924bc6b69ed0095447abfd6b04a25c46099 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Thu, 2 Mar 2023 21:18:13 +0100 Subject: [PATCH] fix(docker): fix yarn cache folder Signed-off-by: Tilman Vatteroth --- backend/docker/Dockerfile | 2 +- frontend/docker/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/docker/Dockerfile b/backend/docker/Dockerfile index c9c23ca15..6036030c3 100644 --- a/backend/docker/Dockerfile +++ b/backend/docker/Dockerfile @@ -16,7 +16,7 @@ FROM docker.io/node:19-alpine@sha256:667dc6ed8fc6623ccd21cb5fa355c90f848daaf5d6d RUN apk add --no-cache tini ENTRYPOINT ["tini", "--"] -ENV YARN_CACHE_FOLDER /tmp/.yarn +ENV YARN_CACHE_FOLDER=/tmp/.yarn ## Stage 1: Code with all dependencies FROM base as code-with-deps diff --git a/frontend/docker/Dockerfile b/frontend/docker/Dockerfile index 403333e5e..ac85547b7 100644 --- a/frontend/docker/Dockerfile +++ b/frontend/docker/Dockerfile @@ -15,7 +15,7 @@ ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1 ARG BUILD_VERSION=CLIENT_VERSION_MISSING -ENV YARN_CACHE_FOLDER /tmp/.yarn +ENV YARN_CACHE_FOLDER=/tmp/.yarn USER node WORKDIR /usr/src/app