10 lines
205 B
Docker
10 lines
205 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/
|
|
CMD ["npm", "run", "start"] |