From 1dd0e6c3333eafda2a906ab77d683a4ee0490459 Mon Sep 17 00:00:00 2001 From: Leopere Date: Mon, 26 Nov 2018 23:21:48 +0000 Subject: [PATCH] Added TODO and updated paths --- spee.ch/{ => .examples}/advanced-docker-compose.yml | 0 spee.ch/Dockerfile | 12 +++++++----- spee.ch/{ => stuff}/debugpaste-it.sh | 0 spee.ch/{ => stuff}/docker-entrypoint.sh | 0 spee.ch/{ => stuff}/healthcheck.sh | 0 5 files changed, 7 insertions(+), 5 deletions(-) rename spee.ch/{ => .examples}/advanced-docker-compose.yml (100%) rename spee.ch/{ => stuff}/debugpaste-it.sh (100%) rename spee.ch/{ => stuff}/docker-entrypoint.sh (100%) rename spee.ch/{ => stuff}/healthcheck.sh (100%) diff --git a/spee.ch/advanced-docker-compose.yml b/spee.ch/.examples/advanced-docker-compose.yml similarity index 100% rename from spee.ch/advanced-docker-compose.yml rename to spee.ch/.examples/advanced-docker-compose.yml diff --git a/spee.ch/Dockerfile b/spee.ch/Dockerfile index b42839c..f728fc1 100644 --- a/spee.ch/Dockerfile +++ b/spee.ch/Dockerfile @@ -20,14 +20,16 @@ RUN wget -quiet -O /usr/bin/debugpaste https://github.com/nixc-us/debugpaste-it/ ## Install container support files RUN curl -s https://raw.githubusercontent.com/leopere/docker-support/master/install | /bin/sh -COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint -COPY healthcheck.sh /usr/local/bin/healthcheck -COPY debugpaste-it.sh /usr/local/bin/debugpaste-it +COPY ./stuff/docker-entrypoint.sh /usr/local/bin/docker-entrypoint +COPY ./stuff/healthcheck.sh /usr/local/bin/healthcheck +COPY ./stuff/debugpaste-it.sh /usr/local/bin/debugpaste-it - -HEALTHCHECK CMD healthcheck +## TODO: Add debug and stabilize a reasonable HEALTHCHECK +# HEALTHCHECK CMD healthcheck EXPOSE 3000 USER speech WORKDIR /app/ ENTRYPOINT ["docker-entrypoint"] + +## TODO: Add start.sh into $PATH CMD ["npm", "run", "start:dev"] diff --git a/spee.ch/debugpaste-it.sh b/spee.ch/stuff/debugpaste-it.sh similarity index 100% rename from spee.ch/debugpaste-it.sh rename to spee.ch/stuff/debugpaste-it.sh diff --git a/spee.ch/docker-entrypoint.sh b/spee.ch/stuff/docker-entrypoint.sh similarity index 100% rename from spee.ch/docker-entrypoint.sh rename to spee.ch/stuff/docker-entrypoint.sh diff --git a/spee.ch/healthcheck.sh b/spee.ch/stuff/healthcheck.sh similarity index 100% rename from spee.ch/healthcheck.sh rename to spee.ch/stuff/healthcheck.sh