slack-docker/Docker/Dockerfile
Martin Donnelly 4cfc785c42 Dockerfied!
2022-05-13 16:24:38 +01:00

21 lines
343 B
Docker

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