-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Try deploy * Revert workflow files name * Add path * Update dockerfile * Update CI * Fix CI * Fix docker image for apollo
- Loading branch information
Showing
2 changed files
with
35 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |