WORKDIR /frontend COPY package.json /frontend COPY package-lock.json /frontend COPY patches /frontend/patches RUN npm ci --quiet --no-progress COPY ./ /frontend RUN npm run build FROM nginx:1.22-alpine

Best results in other decks

...self-host webfonts to comply with GDPR. Many popular web fonts are available as NPM packages provided by Fontsource. We recommend using those instead of downloading and bundling font files...

On the top right, navigate to the "Install" tab to see the NPM package name. Install the package for your application. In your application, import the package's...

...Rails releases a new version of their gems, they also release a number of npm packages like @rails/activestorage or @rails/actioncable. Unfortunately Rails uses up to 4 digits for their gem...

...version, while npm only allows 3 digits and a pre-release suffix. To map gem versions and npm versions, Rails is going to use a naming scheme like this:

Search in all decks