Skip to content

Commit

Permalink
fix(): ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasGassmann committed Feb 16, 2023
1 parent f64700e commit 5df1581
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
21 changes: 7 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
FROM node:14
FROM node:16

RUN apt-get update && apt-get install -yq git python build-essential

# create app directory
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"]
3 changes: 0 additions & 3 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"useWorkspaces": true,
"packages": [
"packages/*"
],
"version": "3.3.4"
}

0 comments on commit 5df1581

Please sign in to comment.