Added TODO and updated paths

This commit is contained in:
Leopere 2018-11-26 23:21:48 +00:00
parent c96f058af0
commit 1dd0e6c333
5 changed files with 7 additions and 5 deletions

View file

@ -20,14 +20,16 @@ RUN wget -quiet -O /usr/bin/debugpaste https://github.com/nixc-us/debugpaste-it/
## Install container support files ## Install container support files
RUN curl -s https://raw.githubusercontent.com/leopere/docker-support/master/install | /bin/sh RUN curl -s https://raw.githubusercontent.com/leopere/docker-support/master/install | /bin/sh
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint COPY ./stuff/docker-entrypoint.sh /usr/local/bin/docker-entrypoint
COPY healthcheck.sh /usr/local/bin/healthcheck COPY ./stuff/healthcheck.sh /usr/local/bin/healthcheck
COPY debugpaste-it.sh /usr/local/bin/debugpaste-it COPY ./stuff/debugpaste-it.sh /usr/local/bin/debugpaste-it
## TODO: Add debug and stabilize a reasonable HEALTHCHECK
HEALTHCHECK CMD healthcheck # HEALTHCHECK CMD healthcheck
EXPOSE 3000 EXPOSE 3000
USER speech USER speech
WORKDIR /app/ WORKDIR /app/
ENTRYPOINT ["docker-entrypoint"] ENTRYPOINT ["docker-entrypoint"]
## TODO: Add start.sh into $PATH
CMD ["npm", "run", "start:dev"] CMD ["npm", "run", "start:dev"]