Added EXCLUDE and INCLUDE options

This commit is contained in:
Morten Olsen
2021-12-09 11:52:28 +01:00
parent f3e3eff019
commit 5fdd21d477
8 changed files with 1469 additions and 504 deletions

View File

@@ -1,7 +1,9 @@
FROM node:alpine as BuildEnv
COPY package.json /app/package.json
FROM node:16-alpine as BuildEnv
COPY package.json yarn.lock .yarnrc.yml /app/
WORKDIR /app
RUN yarn install
RUN \
corepack enable && \
yarn install
COPY . /app/
RUN yarn bundle