Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Oct 19, 2023
1 parent 742e37f commit 4c29218
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ RUN mkdir /app && chown 1000:1000 /app \
WORKDIR /app
USER 1000

COPY website/yarn.lock website/.yarnrc.yml ./
COPY --chown=1000:1000 website/.yarn .yarn
COPY api/yarn.lock api/.yarnrc.yml ./
COPY --chown=1000:1000 api/.yarn .yarn
RUN yarn fetch --immutable

COPY --chown=1000:1000 api/. .
Expand Down
5 changes: 2 additions & 3 deletions dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ RUN mkdir /app && chown 1000:1000 /app \
WORKDIR /app
USER 1000

COPY website/yarn.lock website/.yarnrc.yml ./
COPY --chown=1000:1000 website/.yarn .yarn
COPY dashboard/yarn.lock dashboard/.yarnrc.yml ./
COPY --chown=1000:1000 dashboard/.yarn .yarn
RUN yarn fetch --immutable

COPY --chown=1000:1000 dashboard/. .
Expand All @@ -23,7 +23,6 @@ RUN --mount=type=secret,id=sentry_auth_token \
yarn sentry:sourcemaps; \
fi


FROM ghcr.io/socialgouv/docker/nginx4spa:7.0.1

COPY --from=builder /app/build /usr/share/nginx/html

0 comments on commit 4c29218

Please sign in to comment.