FROM node:18 RUN apt-get update && apt-get install -yq git python-is-python3 build-essential # create app directory RUN mkdir /app WORKDIR /app # Bundle app source COPY . /app # set to production RUN export NODE_ENV=production # 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"]