FROM node:10.23.0-alpine3.10
RUN apk update && \
mkdir -p /app && chmod 0775 /app && \
rm -rf /var/lib/apt/lists/
#install nodemon
RUN npm install -g nodemon --unsafe-perm=true --allow-root
#Aggiunta degli applicativi
RUN apk --no-cache add redis dcron procps
COPY entrypoint-dev.sh /entrypoint.sh
CMD ["/entrypoint.sh"]