pastel.codes/Dockerfile

12 lines
198 B
Docker
Raw Normal View History

2021-05-21 17:40:57 +01:00
FROM node:10.19.0
2021-02-14 21:56:24 +00:00
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" ]