Update Dockerfile-web-ui-dev to include package.json in the COPY command
This commit is contained in:
@@ -14,7 +14,8 @@ RUN apk update && apk add --no-cache git python3 make g++
|
|||||||
RUN ln -sf /usr/bin/python3 /usr/bin/python
|
RUN ln -sf /usr/bin/python3 /usr/bin/python
|
||||||
|
|
||||||
# Copy package.json and package-lock.json to the container
|
# Copy package.json and package-lock.json to the container
|
||||||
COPY package*.json ./
|
# COPY package*.json ./
|
||||||
|
COPY /src/Managing.WebApp/package.json ./
|
||||||
|
|
||||||
# Install dependencies with the --legacy-peer-deps flag to bypass peer dependency conflicts
|
# Install dependencies with the --legacy-peer-deps flag to bypass peer dependency conflicts
|
||||||
RUN npm install --legacy-peer-deps
|
RUN npm install --legacy-peer-deps
|
||||||
|
|||||||
@@ -14,7 +14,8 @@ RUN apk update && apk add --no-cache git python3 make g++
|
|||||||
RUN ln -sf /usr/bin/python3 /usr/bin/python
|
RUN ln -sf /usr/bin/python3 /usr/bin/python
|
||||||
|
|
||||||
# Copy package.json and package-lock.json to the container
|
# Copy package.json and package-lock.json to the container
|
||||||
COPY package*.json ./
|
# COPY package*.json ./
|
||||||
|
COPY /src/Managing.WebApp/package.json ./
|
||||||
|
|
||||||
# Install dependencies with the --legacy-peer-deps flag to bypass peer dependency conflicts
|
# Install dependencies with the --legacy-peer-deps flag to bypass peer dependency conflicts
|
||||||
RUN npm install --legacy-peer-deps
|
RUN npm install --legacy-peer-deps
|
||||||
|
|||||||
Reference in New Issue
Block a user