Add healthcheck & fix mime map

This commit is contained in:
Elton Stoneman
2017-11-20 21:34:48 +00:00
parent 1f2cae4e4b
commit 0cb076570a
2 changed files with 4 additions and 2 deletions

View File

@@ -7,4 +7,6 @@ RUN npm install
EXPOSE 8080
CMD [ "npm", "start" ]
COPY . .
COPY . .
HEALTHCHECK CMD curl --fail http://localhost:8080 || exit 1