### STAGE 1: RUN ###
FROM node:15.1.0
RUN chmod 1777 /tmp
RUN mkdir /data
RUN echo "Run in create image docker"
ENV OPENSSL_CONF=/opt/openssl.cnf
WORKDIR /usr/src/app
COPY package.json  ./
RUN npm install express
COPY . .
ENTRYPOINT ["node", "index.js"]