pastel.codes/Dockerfile
2021-05-21 17:40:57 +01:00

12 lines
198 B
Docker

FROM node:10.19.0
ENV IS_DOCKER=true
ENV NODE_ENV=production
WORKDIR /app
COPY ["package.json", "package-lock.json*", "./"]
RUN npm install && npm install nodemon
COPY . .
CMD [ "npm", "start" ]