diff --git a/Dockerfile b/Dockerfile index 0e6084539..5821b57de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14 +FROM node:16 RUN apt-get update && apt-get install -yq git python build-essential @@ -6,23 +6,16 @@ RUN apt-get update && apt-get install -yq git python build-essential RUN mkdir /app WORKDIR /app -# Install app dependencies -COPY package.json /app -COPY package-lock.json /app - -# install dependencies -RUN npm install - # Bundle app source COPY . /app -RUN chmod +x ./npm-ci-publish-beta-only.sh -RUN chmod +x ./npm-ci-publish.sh - # set to production RUN export NODE_ENV=production -# build -RUN npm run build +# install dependencies +RUN npm install + +RUN chmod +x ./npm-ci-publish-beta-only.sh +RUN chmod +x ./npm-ci-publish.sh -CMD ["npm", "run", "test"] +CMD ["npm", "run", "test"] \ No newline at end of file diff --git a/lerna.json b/lerna.json index d6b1d6ed5..e4274092d 100644 --- a/lerna.json +++ b/lerna.json @@ -1,7 +1,4 @@ { "useWorkspaces": true, - "packages": [ - "packages/*" - ], "version": "3.3.4" }