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

View File

@ -27,7 +27,7 @@ http {
text/css 1M;
text/javascript 1M;
application/javascript 1M;
application/x-font-woff £M;
application/x-font-woff 3M;
~image/ 6M;
}