pastel.codes/dockerfile
2021-02-19 16:18:43 +00:00

11 lines
196 B
Plaintext

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" ]