2020-08-12 13:32:28 +03:00
|
|
|
FROM node:12
|
2019-07-18 16:22:56 +03:00
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY package.json package-lock.json ./
|
2019-10-26 21:16:31 +03:00
|
|
|
RUN npm install && npm cache clean --force
|
2019-07-18 16:22:56 +03:00
|
|
|
COPY . .
|
|
|
|
|
|
|
|
EXPOSE 8000
|
2019-11-10 03:55:46 +03:00
|
|
|
HEALTHCHECK CMD curl -f http://localhost:8000/status
|
2020-08-12 13:32:28 +03:00
|
|
|
CMD ["npm", "run", "start"]
|