chore(yolk): remove --prod on Dockerfile deps installation
This commit is contained in:
parent
e170e22621
commit
7f733512a2
1 changed files with 2 additions and 2 deletions
|
@ -20,13 +20,13 @@ COPY package.json ./
|
||||||
COPY .npmrc ./
|
COPY .npmrc ./
|
||||||
COPY pnpm-lock.yaml ./
|
COPY pnpm-lock.yaml ./
|
||||||
COPY patches ./patches
|
COPY patches ./patches
|
||||||
RUN pnpm i --frozen-lockfile --ignore-scripts --prod
|
RUN pnpm i --frozen-lockfile --ignore-scripts
|
||||||
|
|
||||||
# Copy all source files
|
# Copy all source files
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
||||||
# Run full install with every postinstall script ( This needs project file )
|
# Run full install with every postinstall script ( This needs project file )
|
||||||
RUN pnpm i --frozen-lockfile --prod
|
RUN pnpm i --frozen-lockfile
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
Loading…
Reference in a new issue