Update Dockerfile-web-ui-dev
This commit is contained in:
@@ -8,11 +8,9 @@ WORKDIR /app
|
|||||||
# Install xsel if needed (uncomment if required in your environment)
|
# Install xsel if needed (uncomment if required in your environment)
|
||||||
# RUN apt-get update && apt-get install -y xsel
|
# RUN apt-get update && apt-get install -y xsel
|
||||||
|
|
||||||
# Install Yarn
|
|
||||||
RUN npm install -g yarn
|
|
||||||
|
|
||||||
# Copy the package.json and possibly yarn.lock first to leverage Docker's cache
|
# Copy the package.json and possibly yarn.lock first to leverage Docker's cache
|
||||||
COPY package.json yarn.lock* ./
|
COPY package.json ./
|
||||||
|
|
||||||
# Optionally, add a specific package ignoring engine check
|
# Optionally, add a specific package ignoring engine check
|
||||||
RUN yarn add whatwg-fetch@3.6.2 --ignore-engines
|
RUN yarn add whatwg-fetch@3.6.2 --ignore-engines
|
||||||
|
|||||||
Reference in New Issue
Block a user