2019-07-18 15:22:56 +02:00
|
|
|
FROM node:11
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY package.json package-lock.json ./
|
|
|
|
RUN npm install
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
EXPOSE 8000
|
2019-08-09 11:34:25 +02:00
|
|
|
HEALTHCHECK CMD curl -f http://localhost:8000/
|
2019-07-18 15:22:56 +02:00
|
|
|
CMD ["npm", "run", "start"]
|