lot/Dockerfile
2022-05-12 16:33:35 +01:00

22 lines
326 B
Docker

FROM node:current-slim
ARG VERSION
ENV VERSION ${VERSION:-development}
WORKDIR /app
COPY start.sh package*.json ecosystem.config.json /app/
COPY ./app/ /app/app
COPY ./libs/ /app/libs
COPY ./data/ /app/data
RUN npm install pm2 -g && npm install
# RUN ls -lh .
RUN chmod +x /app/start.sh
ENTRYPOINT ["/app/start.sh"]