From e39245bb4916d244db80866adaf28554d413ed54 Mon Sep 17 00:00:00 2001 From: xiaoch05 Date: Wed, 24 Apr 2024 11:20:08 +0800 Subject: [PATCH] update dockerfile --- apollo/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apollo/Dockerfile b/apollo/Dockerfile index 1bb187c..e7c0c1b 100644 --- a/apollo/Dockerfile +++ b/apollo/Dockerfile @@ -2,11 +2,11 @@ FROM node:14-alpine COPY ./apollo /opt/indexer -RUN cd /opt/indexer/apollo && \ +RUN cd /opt/indexer && \ yarn install && \ npx prisma generate -WORKDIR /opt/indexer/apollo +WORKDIR /opt/indexer EXPOSE 4002 @@ -14,4 +14,4 @@ ENV VERSION_MODE prod # CMD [ "node", "index.js" ] -ENTRYPOINT /opt/indexer/apollo/scripts/entrypoint.sh ${VERSION_MODE} +ENTRYPOINT /opt/indexer/scripts/entrypoint.sh ${VERSION_MODE}