11 lines
212 B
Docker
11 lines
212 B
Docker
|
FROM node:12
|
||
|
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"]
|