Added untested healthcheck

This commit is contained in:
Leopere 2018-06-01 16:44:39 -04:00
parent 0356860785
commit 9e1335ae58

View file

@ -15,7 +15,9 @@ RUN npm update && \
## Install container support files ## Install container support files
RUN source <(curl -s https://raw.githubusercontent.com/chamunks/docker-support/master/bin/install) RUN source <(curl -s https://raw.githubusercontent.com/chamunks/docker-support/master/bin/install)
ADD ./docker-entrypoint.sh /bin/docker-entrypoint ADD ./docker-entrypoint.sh /bin/docker-entrypoint
ADD ./healthcheck.sh /bin/healthcheck
HEALTHCHECK CMD healthcheck
EXPOSE 3000 EXPOSE 3000
USER speech USER speech
WORKDIR /app/ WORKDIR /app/