FROM node:12.14-stretch COPY . /opt/baphomet ENV NODE_ENV=production ENV LOG_LEVEL=warn RUN mkdir /opt/baphomet/log RUN cd /opt/baphomet \ && npm install --only=prod \ && chmod +x entrypoint.sh WORKDIR /opt/baphomet ENTRYPOINT [ "./entrypoint.sh" ] CMD [ "run" ]