diff --git a/api/Dockerfile b/api/Dockerfile index 46010f78f..dc39948c4 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -5,10 +5,10 @@ WORKDIR /app USER 1000 COPY website/yarn.lock website/.yarnrc.yml ./ -COPY --chown=1000:100 website/.yarn .yarn +COPY --chown=1000:1000 website/.yarn .yarn RUN yarn fetch --immutable -COPY --chown=1000:100 api/. . +COPY --chown=1000:1000 api/. . ENV NODE_ENV=production diff --git a/dashboard/Dockerfile b/dashboard/Dockerfile index 70b28a221..e4a50b2f1 100644 --- a/dashboard/Dockerfile +++ b/dashboard/Dockerfile @@ -7,7 +7,7 @@ WORKDIR /app USER 1000 COPY website/yarn.lock website/.yarnrc.yml ./ -COPY --chown=1000:100 website/.yarn .yarn +COPY --chown=1000:1000 website/.yarn .yarn RUN yarn fetch --immutable COPY --chown=1000:1000 dashboard/. .