Skip to content

Commit

Permalink
Minor: reorder Dockerfile layers for better cache use (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
jantuomi committed Feb 28, 2024
1 parent 6a5efc5 commit b227401
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ COPY ./package.json \
./postcss.config.js ./
COPY ./scripts ./scripts
COPY ./prisma ./prisma
COPY ./src ./src

RUN apk add --no-cache openssl && \
npm ci --ignore-scripts && \
npx prisma generate

COPY ./src ./src

ENV NEXT_TELEMETRY_DISABLED=1

COPY scripts/build.env .env
Expand Down

0 comments on commit b227401

Please sign in to comment.