mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 18:56:32 -05:00
fix(docker): fix yarn cache folder
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
82b72ab3a3
commit
86de2924bc
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue