pastel.codes/Dockerfile
2021-02-19 16:52:07 +00:00

12 lines
197 B
Docker

FROM node:15.8.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" ]