Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored May 30, 2024
1 parent 14c3048 commit ca0a056
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apollo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM node:14-alpine
FROM node:21-alpine

COPY ./apollo /opt/indexer
COPY . /app

RUN cd /opt/indexer && \
RUN cd /app && \
yarn install && \
npx prisma generate

WORKDIR /opt/indexer
WORKDIR /app

EXPOSE 4002

ENV VERSION_MODE prod

# CMD [ "node", "index.js" ]

ENTRYPOINT /opt/indexer/scripts/entrypoint.sh ${VERSION_MODE}
ENTRYPOINT /app/scripts/entrypoint.sh ${VERSION_MODE}

0 comments on commit ca0a056

Please sign in to comment.