From fb97e0818a143c57950dd7244bf71f254c338432 Mon Sep 17 00:00:00 2001 From: piquark6046 Date: Wed, 24 Jul 2024 05:39:58 +0000 Subject: [PATCH] chore: Update Dockerfile to include entrypoint command for running the app with custom host, repo, and auth parameters --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index be3e7e6..8ef42b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,5 @@ COPY . /app RUN cd /app && npm install RUN adduser runner USER runner -EXPOSE 3000 \ No newline at end of file +EXPOSE 3000 +ENTRYPOINT ["bash", "-c", "cd /app && npm start -- --host $HOST --repo $REPO --auth $AUTH"] \ No newline at end of file