discord-bot/Dockerfile
2017-09-24 15:44:49 -04:00

14 lines
244 B
Docker

FROM mhart/alpine-node:latest
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package.json package-lock.json ./
RUN npm install --production
# Bundle app source
COPY . .
ENTRYPOINT [ "npm", "run", "start-prod" ]