10 lines
211 B
Docker
10 lines
211 B
Docker
FROM node:11
|
|
WORKDIR /app
|
|
|
|
COPY package.json package-lock.json ./
|
|
RUN npm install && npm cache clean --force
|
|
COPY . .
|
|
|
|
EXPOSE 8000
|
|
HEALTHCHECK CMD curl -f http://localhost:8000/status
|
|
CMD ["npm", "run", "start"] |