Files
markov-discord/Dockerfile
2019-05-25 15:05:37 -05:00

18 lines
352 B
Docker

FROM keymetrics/pm2:latest-stretch
# Create app directory
WORKDIR /usr/src/markbot
# Install app dependencies
COPY package*.json ./
# If you are building your code for production
ENV NPM_CONFIG_LOGLEVEL warn
RUN npm ci --only=production
# Bundle app source
COPY . .
RUN mkdir config
RUN ls -al
CMD [ "pm2-runtime", "start", "ecosystem.config.js" ]