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