pastel.codes/Dockerfile

12 lines
197 B
Docker
Raw Normal View History

2021-02-14 21:56:24 +00:00
FROM node:15.8.0
2021-02-15 01:45:26 +00:00
ENV IS_DOCKER=true
ENV NODE_ENV=production
2021-02-15 02:30:46 +00:00
2021-02-19 16:18:43 +00:00
WORKDIR /app
COPY ["package.json", "package-lock.json*", "./"]
2021-02-15 02:30:46 +00:00
RUN npm install && npm install nodemon
2021-02-14 21:56:24 +00:00
COPY . .
2021-02-19 16:52:07 +00:00
CMD [ "npm", "start" ]