mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-22 22:26:19 +00:00
dockerfile: cachear deps
This commit is contained in:
parent
7ccc2432e3
commit
dbbd8e7f3a
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@ WORKDIR /usr/src/app
|
||||||
FROM base as build
|
FROM base as build
|
||||||
RUN apk add --no-cache nodejs npm
|
RUN apk add --no-cache nodejs npm
|
||||||
RUN npm install --global pnpm
|
RUN npm install --global pnpm
|
||||||
|
COPY db-datos/package.json db-datos/package.json
|
||||||
|
COPY sitio/package.json sitio/package.json
|
||||||
|
COPY pnpm-lock.yaml pnpm-workspace.yaml .
|
||||||
|
RUN cd sitio && pnpm install
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY db-datos/drizzle .
|
COPY db-datos/drizzle .
|
||||||
RUN cd sitio && \
|
RUN cd sitio && \
|
||||||
|
|
Loading…
Reference in a new issue