Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Apr 24, 2024
1 parent a6a9980 commit e39245b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apollo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ 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

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}

0 comments on commit e39245b

Please sign in to comment.