Open Parkseokje opened 2 years ago
Same thing is happening to me, Dockerfile:
FROM node:14.16-alpine
# Create and change to the app directory.
WORKDIR /usr/src/app
# Copy application dependency manifests to the container image.
# A wildcard is used to ensure both package.json AND yarn.lock are copied.
# Copying this separately prevents re-running npm install on every code change.
COPY .npmrc ./
COPY .yarnrc ./
COPY package.json ./
COPY yarn.lock ./
COPY patches .
# Install production dependencies.
RUN yarn
# Copy local code to the container image.
COPY . ./
RUN yarn build
ENV NODE_ENV production
# Run the web service on container startup.
CMD [ "npm", "start" ]
Do we have any update? I'm facing same issue "No patch files found"
Do we have any update? I'm facing same issue "No patch files found"
Found the fix. You will have to copy the patches directory like below: COPY patches ./patches
I got this as well and wonder if it shouldn't fail but instead treat it as no patches? I've had it when sharing Docker files between projects where there are none and I end up creating a .gitkeep file inside patches folder just to satisfy it
The command runs but says no patch file found. Any workround ?
Dockerfile
Docker compose logs