Skip to content

Commit

Permalink
postinstall maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud AMBROSELLI committed May 21, 2024
1 parent 15b74cf commit 0ffb958
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ RUN yarn fetch --immutable && yarn cache clean

COPY . .

RUN yarn postinstall

ENV NEXT_PUBLIC_MATOMO_SITE_ID="34"
ENV NEXT_PUBLIC_MATOMO_URL="https://matomo.fabrique.social.gouv.fr/"
ENV NODE_ENV=production

ENV YARN_IGNORE_NODE=1
RUN yarn postinstall && yarn build
RUN yarn build

FROM ghcr.io/socialgouv/docker/nginx:8.2.0

Expand Down

0 comments on commit 0ffb958

Please sign in to comment.