From 3c8e6cd9f38b07181a26019ac4eac08b0354d51d Mon Sep 17 00:00:00 2001 From: virusdefender Date: Fri, 22 Dec 2017 23:33:00 +0800 Subject: [PATCH] use entrypoint --- Dockerfile | 2 +- deploy/{run.sh => entrypoint.sh} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename deploy/{run.sh => entrypoint.sh} (100%) diff --git a/Dockerfile b/Dockerfile index a1ca9f99..41cabf83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,4 @@ RUN curl -L $(curl -s https://api.github.com/repos/QingdaoU/OnlineJudgeFE/rele unzip dist.zip && \ rm dist.zip -CMD sh /app/deploy/run.sh +ENTRYPOINT /app/deploy/entrypoint.sh diff --git a/deploy/run.sh b/deploy/entrypoint.sh similarity index 100% rename from deploy/run.sh rename to deploy/entrypoint.sh