mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 19:40:59 -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
|
RUN apk add --no-cache tini
|
||||||
ENTRYPOINT ["tini", "--"]
|
ENTRYPOINT ["tini", "--"]
|
||||||
|
|
||||||
ENV YARN_CACHE_FOLDER /tmp/.yarn
|
ENV YARN_CACHE_FOLDER=/tmp/.yarn
|
||||||
|
|
||||||
## Stage 1: Code with all dependencies
|
## Stage 1: Code with all dependencies
|
||||||
FROM base as code-with-deps
|
FROM base as code-with-deps
|
||||||
|
|
|
@ -15,7 +15,7 @@ ENV NODE_ENV=production
|
||||||
ENV NEXT_TELEMETRY_DISABLED=1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
ARG BUILD_VERSION=CLIENT_VERSION_MISSING
|
ARG BUILD_VERSION=CLIENT_VERSION_MISSING
|
||||||
|
|
||||||
ENV YARN_CACHE_FOLDER /tmp/.yarn
|
ENV YARN_CACHE_FOLDER=/tmp/.yarn
|
||||||
USER node
|
USER node
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue