For node module rebuild
This commit is contained in:
@@ -10,8 +10,12 @@ COPY /src/Managing.Web3Proxy/package.json ./
|
|||||||
# Declaring env
|
# Declaring env
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
|
|
||||||
# Install dependencies with the --legacy-peer-deps flag to bypass peer dependency conflicts
|
# Bust cache and fully reinstall deps and lockfile each build
|
||||||
RUN npm install
|
ARG BUILD_TIMESTAMP
|
||||||
|
RUN echo "CACHEBUST=$BUILD_TIMESTAMP" \
|
||||||
|
&& rm -rf node_modules package-lock.json \
|
||||||
|
&& npm install --package-lock-only \
|
||||||
|
&& npm ci --no-audit --fund=false
|
||||||
|
|
||||||
COPY src/Managing.Web3Proxy/ .
|
COPY src/Managing.Web3Proxy/ .
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user