FROM node:17.9.1 AS app
WORKDIR /app
COPY package.json .
COPY package-lock.json .
RUN npm install
COPY . .
RUN chmod +x /app/test.sh
ENTRYPOINT ["/app/test.sh"]