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}