mirror of
https://github.com/spliit-app/spliit.git
synced 2026-03-03 19:46:13 +01:00
Minor: reorder Dockerfile layers for better cache use (#116)
This commit is contained in:
@@ -10,12 +10,13 @@ COPY ./package.json \
|
|||||||
./postcss.config.js ./
|
./postcss.config.js ./
|
||||||
COPY ./scripts ./scripts
|
COPY ./scripts ./scripts
|
||||||
COPY ./prisma ./prisma
|
COPY ./prisma ./prisma
|
||||||
COPY ./src ./src
|
|
||||||
|
|
||||||
RUN apk add --no-cache openssl && \
|
RUN apk add --no-cache openssl && \
|
||||||
npm ci --ignore-scripts && \
|
npm ci --ignore-scripts && \
|
||||||
npx prisma generate
|
npx prisma generate
|
||||||
|
|
||||||
|
COPY ./src ./src
|
||||||
|
|
||||||
ENV NEXT_TELEMETRY_DISABLED=1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
|
|
||||||
COPY scripts/build.env .env
|
COPY scripts/build.env .env
|
||||||
|
|||||||
Reference in New Issue
Block a user