-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update for confirmation status and minor refactor * simplify subnet_api and parentchain_api to xdc_api
- Loading branch information
1 parent
be8fdb3
commit 42d4f30
Showing
5 changed files
with
44 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# NodeJS Version 16 | ||
FROM node:16.18-alpine | ||
|
||
# Copy Dir | ||
COPY . ./app | ||
|
||
# Work to Dir | ||
WORKDIR /app | ||
|
||
# Install Node Package | ||
RUN apk add g++ make python3 | ||
RUN npm install --legacy-peer-deps | ||
|
||
# Set Env | ||
ENV NODE_ENV production | ||
EXPOSE 3000 | ||
EXPOSE 443 | ||
|
||
# Cmd script | ||
CMD ["npm", "run", "start"] |
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
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